-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
32 lines (27 loc) · 1000 Bytes
/
.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
language: python
python:
- "2.7.13"
- "3.6"
install:
- sudo apt-get update
- pip install -r requirements.txt
- pip install .
- if [ "$TRAVIS_BRANCH" == "master" ] && [ $TRAVIS_PYTHON_VERSION == 2.6 ];
then pip install sphinx numpydoc sphinx_rtd_theme breathe;
fi
- if [ "$TRAVIS_BRANCH" == "master" ] && [ $TRAVIS_PYTHON_VERSION == 2.6 ];
then sudo apt-get install doxygen;
fi
script:
- if [ "$TRAVIS_BRANCH" == "master" ] | [ "$TRAVIS_BRANCH" == "develop" ];
then travis_wait 70 py.test -v -m basic;
else travis_wait 30 py.test -v -m basic;
fi
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ] && [ $TRAVIS_PYTHON_VERSION == 2.6 ];
then sh bin/travis-update-documentation.sh;
fi
env:
global:
# GH_TOKEN BayAreaMetro/fast-trips public_repo token
- secure: "ZhM0KwjxqZmGJndxXIoy+8qhbr+IVgGiyqc6itc1+YGlZonkrY0Fjodu+oZalUAtDzuG6gWOQwsPeV013p+867SkY0DsfyaCodjk5B//UQRjjBxFv+g/vxBYnpMrgD4nEqt7FutN7dQN/quWE+FlkfFuMlibmfi5ZFVMLbBaGv8="