File tree Expand file tree Collapse file tree 2 files changed +41
-8
lines changed Expand file tree Collapse file tree 2 files changed +41
-8
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
- python :
3
- - " 2.6"
4
- - " 2.7"
5
- - " 3.3"
6
- - " 3.4"
7
- - " 3.5"
8
- - " pypy"
2
+
3
+ # Some versions of python only work on certain platforms. Specifying the distribution
4
+ # to ensure the version of python will run without issue.
5
+ matrix :
6
+ include :
7
+ # Trusty Tests
8
+ - os : linux
9
+ dist : trusty
10
+ python : " pypy"
11
+ - os : linux
12
+ dist : trusty
13
+ python : " 2.6"
14
+ - os : linux
15
+ dist : trusty
16
+ python : " 3.3"
17
+ - os : linux
18
+ dist : trusty
19
+ python : " 3.4"
20
+ # Xenial Tests
21
+ - os : linux
22
+ dist : xenial
23
+ python : " 2.7"
24
+ - os : linux
25
+ dist : xenial
26
+ python : " 3.5"
27
+ - os : linux
28
+ dist : xenial
29
+ python : " 3.6"
30
+ - os : linux
31
+ dist : xenial
32
+ python : " 3.7"
33
+ - os : linux
34
+ dist : xenial
35
+ python : " pypy3.5"
36
+ allow_failures :
37
+ - python : " 3.7"
38
+
9
39
env :
10
40
- BOTO_CONFIG=/tmp/nowhere
41
+
11
42
before_install :
12
43
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
13
44
echo "No pull requests can be sent to the master branch" 1>&2;
@@ -16,9 +47,11 @@ before_install:
16
47
- sudo apt-get update
17
48
- sudo apt-get --reinstall install -qq language-pack-en language-pack-de
18
49
- sudo apt-get install swig
50
+
19
51
install :
20
52
- pip install -U 'setuptools<40'
21
53
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then travis_retry pip install -r requirements-py26.txt; fi
22
54
- if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then travis_retry pip install -r requirements-py33.txt; fi
23
55
- travis_retry pip install -r requirements.txt
56
+
24
57
script : python tests/test.py default
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ requests>=1.2.3,<=2.0.1
3
3
rsa == 3.1.4
4
4
simplejson == 3.6.5
5
5
argparse == 1.2.1
6
- httpretty >= 0.7.0 , <= 0.8 .6
6
+ httpretty >= 0.9 .6
7
7
paramiko >= 1.10.0
8
8
PyYAML >= 3.10
9
9
coverage == 3.7.1
You can’t perform that action at this time.
0 commit comments