Added testing infrastructure with travis
This commit is contained in:
parent
bb43f4097a
commit
a5078d6cd7
1 changed files with 24 additions and 0 deletions
24
.travis.yml
Normal file
24
.travis.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
language: python
|
||||
|
||||
python:
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
- "3.2"
|
||||
- "3.3"
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
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
|
||||
- python setup.py install -q
|
||||
|
||||
script: python -c "import llvm; llvm.test()"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue