Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f7aa7b

Browse files
Helen KoikeJon Wayne Parrott
Helen Koike
authored and
Jon Wayne Parrott
committed
Match travis matrix with tox testenv (googleapis#498)
Executing tox in the project directory is not the same of what is being executed in travis-ci This cause problems when replacing oauth2client library by google-auth in the setup.py because oauth2client is mandatory for tests, and travis was not installing oauth2client if it is not in the setup.py. Also it is good to keep the consistency of the test environments.
1 parent de13e3b commit 3f7aa7b

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

.travis.yml

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,41 @@ cache:
66
matrix:
77
include:
88
- python: 2.7
9-
env: TOXENV=py27
9+
env: TOXENV=py27-oauth2client1
10+
- python: 2.7
11+
env: TOXENV=py27-oauth2client2
12+
- python: 2.7
13+
env: TOXENV=py27-oauth2client3
14+
- python: 2.7
15+
env: TOXENV=py27-oauth2client4
16+
17+
- python: 3.4
18+
env: TOXENV=py34-oauth2client1
19+
- python: 3.4
20+
env: TOXENV=py34-oauth2client2
21+
- python: 3.4
22+
env: TOXENV=py34-oauth2client3
1023
- python: 3.4
11-
env: TOXENV=py34
24+
env: TOXENV=py34-oauth2client4
25+
1226
- python: 3.5
13-
env: TOXENV=py35
27+
env: TOXENV=py35-oauth2client1
28+
- python: 3.5
29+
env: TOXENV=py35-oauth2client2
30+
- python: 3.5
31+
env: TOXENV=py35-oauth2client3
32+
- python: 3.5
33+
env: TOXENV=py35-oauth2client4
34+
35+
- python: 3.6
36+
env: TOXENV=py36-oauth2client1
37+
- python: 3.6
38+
env: TOXENV=py36-oauth2client2
39+
- python: 3.6
40+
env: TOXENV=py36-oauth2client3
1441
- python: 3.6
15-
env: TOXENV=py36
42+
env: TOXENV=py36-oauth2client4
43+
1644
install:
1745
- pip install tox coveralls
1846
script:

0 commit comments

Comments
 (0)