forked from ContinuumIO/pykit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 1.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: python
python:
- "2.7"
- "3.3"
branches:
only:
- master
- devel
- release
install:
- wget "http://repo.continuum.io/pkgs/free/linux-64/llvm-3.2-0.tar.bz2"
- tar -xjf llvm-3.2-0.tar.bz2
- PATH+=":`pwd`/bin"
- export LD_LIBRARY_PATH="`pwd`/lib"
- export LLVM_CONFIG_PATH="`pwd`/bin/llvm-config"
- $LLVM_CONFIG_PATH --cflags # test llvm-config
- export LLVMPY_DYNLINK=1
- export CFLAGS="-Wno-strict-aliasing -Wno-unused -Wno-write-strings -Wno-unused-function"
# Install llvmpy
- git clone git://github.com/llvmpy/llvmpy.git -q
- cd llvmpy ; python setup.py install ; cd ..
# Install cython
- pip -q install cython --install-option="--no-cython-compile" # This takes long
# Install llvmmath
- git clone git://github.com/ContinuumIO/llvmmath.git -q
- cd llvmmath
- pip install -r requirements.txt --use-mirrors
- python setup.py install
- cd ..
# Install miscellaneous dependencies
- pip install -r requirements.txt --use-mirrors
# Install pykit
- python setup.py install
script: cd ~; python -c "import sys; import pykit; sys.exit(pykit.test())"
notifications:
email: false
on_success: "change"
on_failure: "always"