-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
36 lines (28 loc) · 1.08 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
language: python
python:
- "2.7"
install:
# update aptitude
- sudo apt-get update -y
- sudo apt-get install aptitude -y
# install aptitude packages
- LDFLAGS=-lm sudo aptitude install -y $(< requirements)
# install python requirements
- make setup
- pip install coveralls
# weird travis-ci python paths
- export PYTHONPATH=$PYTHONPATH:/usr/lib/pymodules/python2.7/
- export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages
- export PYTHONPATH=$PYTHONPATH:/usr/lib/pyshared/python2.7/
- export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages/
# verify requirements were met
- INSTALLDIR=$(python -c "import os; import suds; print(os.path.dirname(suds.__file__))")
script:
- export PYTHONPATH=$PYTHONPATH:/usr/lib/pymodules/python2.7/
- export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages
- export PYTHONPATH=$PYTHONPATH:/usr/lib/pyshared/python2.7/
- export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages/
# finally run tests
- make ci_test
after_success:
- coveralls