-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (52 loc) · 1.42 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
language: python
# Some versions of python only work on certain platforms. Specifying the distribution
# to ensure the version of python will run without issue.
matrix:
include:
# Trusty Tests
- os: linux
dist: trusty
python: "pypy"
- os: linux
dist: trusty
python: "2.6"
- os: linux
dist: trusty
python: "3.3"
- os: linux
dist: trusty
python: "3.4"
# Xenial Tests
- os: linux
dist: xenial
python: "2.7"
- os: linux
dist: xenial
python: "3.5"
- os: linux
dist: xenial
python: "3.6"
- os: linux
dist: xenial
python: "3.7"
- os: linux
dist: xenial
python: "pypy3.5"
allow_failures:
- python: "3.7"
env:
- BOTO_CONFIG=/tmp/nowhere
before_install:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
echo "No pull requests can be sent to the master branch" 1>&2;
exit 1;
fi
- sudo apt-get update
- sudo apt-get --reinstall install -qq language-pack-en language-pack-de
- sudo apt-get install swig
install:
- pip install -U 'setuptools<40'
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then travis_retry pip install -r requirements-py26.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then travis_retry pip install -r requirements-py33.txt; fi
- travis_retry pip install -r requirements.txt
script: python tests/test.py default