Skip to content

Commit

Permalink
add Travis llvm test
Browse files Browse the repository at this point in the history
  • Loading branch information
sn6uv committed Sep 15, 2016
1 parent 2e0c4e4 commit 16c21be
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
- SYMPY_SRC=sympy-1.0
- DOC="false"
- PYPY_NUMPY="false"
- LLVM="false"
- LLVM_VERSION=3.8.0
matrix:
- CYTHON="false"
- CYTHON="true"
Expand All @@ -22,6 +24,8 @@ matrix:
env: DOC="true" CYTHON="false"
- python: 3.5
env: DOC="true" CYTHON="false"
- python: 3.5
env: LLVM="true" CYTHON="false"
- python: 2.7
env: SYMPY_SRC=master CYTHON="false"
- python: 3.5
Expand All @@ -40,6 +44,9 @@ matrix:
- env: SYMPY_SRC=master CYTHON="false"
- env: DOC="true" CYTHON="false"
- env: PYPY_NUMPY="true"
cache:
directories:
- llvm-3.8.0
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
Expand All @@ -50,6 +57,17 @@ before_install:
- if [[ "$CYTHON" == "true" ]]; then
pip install cython;
fi
- if [[ "$LLVM" == "true" ]]; then
if [ -z "$(ls -A llvm-$LLVM_VERSION)" ]; then
wget -O llvm-$LLVM_VERSION.tar.xz http://llvm.org/releases/$LLVM_VERSION/clang+llvm-$LLVM_VERSION-x86_64-linux-gnu-ubuntu-14.04.tar.xz;
mkdir llvm-$LLVM_VERSION;
xzcat llvm-$LLVM_VERSION.tar.xz | tar -xvf - --strip 1 -C llvm-$LLVM_VERSION;
fi;
sudo apt-get install libstdc++6;
llvm-$LLVM_VERSION/bin/llvm-config --version;
export LLVM_CONFIG="llvm-$LLVM_VERSION/bin/llvm-config";
pip install llvmlite;
fi
- pip install unittest2
- pip install pexpect
- pip install git+https://github.com/sympy/sympy.git@$SYMPY_SRC
Expand Down

0 comments on commit 16c21be

Please sign in to comment.