Skip to content

Commit 260cb49

Browse files
committed
.travis.yml: Bring over changes from 1.0-alpha branch
These are the changes that @sigmavirus24 did to `.travis.yml` on the `1.0-alpha` branch in sigmavirus24#287
1 parent 8d0b6a3 commit 260cb49

File tree

1 file changed

+23
-14
lines changed

1 file changed

+23
-14
lines changed

.travis.yml

+23-14
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,34 @@
11
language: python
2-
python:
3-
- 2.6
4-
- 2.7
5-
- 3.2
6-
- 3.3
7-
- 3.4
8-
- pypy
9-
# command to run tests, e.g. python setup.py test
102
before_script:
11-
- pip install -r dev-requirements.txt
3+
- pip install tox
124
- pip install -U requests"$REQUESTS_VERSION"
135

146
# test script
15-
script: make travis
7+
script: tox -e ${TOX_ENV}
168
notifications:
17-
on_success: change
18-
on_failure: always
9+
on_success: change
10+
on_failure: always
1911

2012
env:
2113
global:
2214
- TRAVIS_GH3="True"
2315
matrix:
24-
- REQUESTS_VERSION="==2.0.1"
25-
- REQUESTS_VERSION="" # Latest
16+
- TOX_ENV=py26 REQUESTS_VERSION="==2.0.1"
17+
- TOX_ENV=py27 REQUESTS_VERSION="==2.0.1"
18+
- TOX_ENV=py32 REQUESTS_VERSION="==2.0.1"
19+
- TOX_ENV=py33 REQUESTS_VERSION="==2.0.1"
20+
- TOX_ENV=py34 REQUESTS_VERSION="==2.0.1"
21+
- TOX_ENV=pypy REQUESTS_VERSION="==2.0.1"
22+
- TOX_ENV=py26 REQUESTS_VERSION=""
23+
- TOX_ENV=py27 REQUESTS_VERSION=""
24+
- TOX_ENV=py32 REQUESTS_VERSION=""
25+
- TOX_ENV=py33 REQUESTS_VERSION=""
26+
- TOX_ENV=py34 REQUESTS_VERSION=""
27+
- TOX_ENV=pypy REQUESTS_VERSION=""
28+
- TOX_ENV=py27-flake8
29+
- TOX_ENV=py34-flake8
30+
31+
matrix:
32+
allow_failures:
33+
- env: TOX_ENV=py27-flake8
34+
- env: TOX_ENV=py34-flake8

0 commit comments

Comments
 (0)