forked from google/nsscache
/
.travis.yml
38 lines (34 loc) · 960 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
33
34
35
36
37
language: python
install:
- travis_retry sudo apt-get update -qq
- travis_retry sudo apt-get install -y python-ldap python-mox libnss-db
- |-
if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then
travis_retry pip install -r requirements.txt
fi
script:
- |-
if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then
# see discussion https://github.com/travis-ci/travis-ci/issues/4260
ln -s /usr/lib/python2.7/lib-dynload/_bsddb.x86_64-linux-gnu.so /opt/python/2.7/lib/python2.7/lib-dynload/_bsddb.so
fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then python ./runtests.py; else ./runtests.py; fi
- python setup.py install --root=/tmp/nsscache
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
matrix:
fast_finish: true
allow_failures:
- python: nightly
- python: 3.5-dev
- python: 3.5
- python: 3.4
- python: 3.3
- python: 3.2