diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2016-11-25 11:00:54 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2016-11-25 11:56:03 +0100 |
commit | 40dd0067af0dcf12c8723220bed29b0bea177dc8 (patch) | |
tree | 3ffd25a72f89b320fff78412876e93f234df1832 /.travis.yml | |
parent | b483804b0f7777046fc198793f4037b9a9cb080d (diff) | |
download | astra-40dd0067af0dcf12c8723220bed29b0bea177dc8.tar.gz astra-40dd0067af0dcf12c8723220bed29b0bea177dc8.tar.bz2 astra-40dd0067af0dcf12c8723220bed29b0bea177dc8.tar.xz astra-40dd0067af0dcf12c8723220bed29b0bea177dc8.zip |
Add travis clang build
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 58c7e0a..d6f7976 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,11 @@ env: - CUDA=yes - CUDA=no +matrix: + include: + - env: CUDA=no CLANG=yes + python: "3.5" + before_install: - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; @@ -37,6 +42,7 @@ install: - conda info -a - cd build/linux - ./autogen.sh + - if [ x$CLANG == xyes ]; then export CXX=clang++; export CC=clang; fi - if [ $CUDA == yes ]; then ./configure --prefix=$HOME/astra --with-python --with-cuda --with-install-type=module; else ./configure --prefix=$HOME/astra --with-python --without-cuda --with-install-type=module; fi - make -j 4 - make install |