From 40dd0067af0dcf12c8723220bed29b0bea177dc8 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Fri, 25 Nov 2016 11:00:54 +0100 Subject: Add travis clang build --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.travis.yml') 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 -- cgit v1.2.3