Skip to content

Commit dacbb71

Browse files
authored
Merge pull request boto#3853 from catleeball/update-travis
Updated Travis to include newer Python versions
2 parents 12366b7 + 9c22f9e commit dacbb71

File tree

2 files changed

+41
-8
lines changed

2 files changed

+41
-8
lines changed

.travis.yml

Lines changed: 40 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,44 @@
11
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+
939
env:
1040
- BOTO_CONFIG=/tmp/nowhere
41+
1142
before_install:
1243
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
1344
echo "No pull requests can be sent to the master branch" 1>&2;
@@ -16,9 +47,11 @@ before_install:
1647
- sudo apt-get update
1748
- sudo apt-get --reinstall install -qq language-pack-en language-pack-de
1849
- sudo apt-get install swig
50+
1951
install:
2052
- pip install -U 'setuptools<40'
2153
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then travis_retry pip install -r requirements-py26.txt; fi
2254
- if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then travis_retry pip install -r requirements-py33.txt; fi
2355
- travis_retry pip install -r requirements.txt
56+
2457
script: python tests/test.py default

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requests>=1.2.3,<=2.0.1
33
rsa==3.1.4
44
simplejson==3.6.5
55
argparse==1.2.1
6-
httpretty>=0.7.0,<=0.8.6
6+
httpretty>=0.9.6
77
paramiko>=1.10.0
88
PyYAML>=3.10
99
coverage==3.7.1

0 commit comments

Comments
 (0)