summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-11-25 11:00:54 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-11-25 11:56:03 +0100
commit40dd0067af0dcf12c8723220bed29b0bea177dc8 (patch)
tree3ffd25a72f89b320fff78412876e93f234df1832
parentb483804b0f7777046fc198793f4037b9a9cb080d (diff)
downloadastra-40dd0067af0dcf12c8723220bed29b0bea177dc8.tar.gz
astra-40dd0067af0dcf12c8723220bed29b0bea177dc8.tar.bz2
astra-40dd0067af0dcf12c8723220bed29b0bea177dc8.tar.xz
astra-40dd0067af0dcf12c8723220bed29b0bea177dc8.zip
Add travis clang build
-rw-r--r--.travis.yml6
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