Trying to install clang
@@ -2,28 +2,32 @@ os:
- linux
- osx
-language: cpp
+language: python
-env:
- - PYENV_VERSION='2.7.13'
- - PYENV_VERSION='3.4.6'
+python:
+ - 2.7
+ # - 3.4
cache:
- - pip
- directories:
- - $HOME/.pyenv_cache
+ - /tmp
-osx_image: xcode8.2
+# osx_image: xcode8.2
-compiler:
- - clang
+# compiler:
+# - clang
before_install:
- - |
- if [[ -n "$PYENV_VERSION" ]]; then
- wget https://github.com/praekeltfoundation/travis-pyenv/releases/download/0.3.0/setup-pyenv.sh
- source setup-pyenv.sh
- fi
+ # - wget http://releases.llvm.org/3.9.0/clang+llvm-3.9.0-x86_64-apple-darwin.tar.xz
+ - wget http://releases.llvm.org/3.9.1/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz --directory-prefix=/tmp
+ - tar xpvf /tmp/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz -C /tmp
+ - ls /tmp/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04
+ - export PATH=/tmp//tmp/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04:$PATH
+ # - |
+ # if [[ -n "$PYENV_VERSION" ]]; then
+ # wget https://github.com/praekeltfoundation/travis-pyenv/releases/download/0.3.0/setup-pyenv.sh
+ # source setup-pyenv.sh
+ # fi
script:
- clang --version
