File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 6
6
include :
7
7
- name : " Python 2.7 on Linux"
8
8
python : 2.7
9
+ env : TOXENV=py27
9
10
- name : " Python 3.5 on Linux"
10
11
python : 3.5
11
12
- name : " Python 3.6 on Linux"
@@ -20,6 +21,7 @@ matrix:
20
21
python : nightly
21
22
- name : " Pypy on Linux"
22
23
python : pypy
24
+ env : TOXENV=py27
23
25
- name : " Pypy 3 on Linux"
24
26
python : pypy3
25
27
- name : " Python 3 on older macOS"
@@ -35,7 +37,7 @@ matrix:
35
37
os : osx
36
38
osx_image : xcode11
37
39
language : shell
38
- env : TOXENV=py37 PYENV_VERSION=3.7
40
+ env : TOXENV=py37
39
41
before_install :
40
42
- sw_vers
41
43
- python3 --version
@@ -47,8 +49,9 @@ matrix:
47
49
- os : osx
48
50
49
51
install :
50
- - travis_retry pip install -U pip wheel tox-travis
51
- - travis_retry pip install -U -r requirements.txt -e ".[test]"
52
+ - if echo $TOXENV | grep -q py27; then PIP=pip; else PIP=pip3; fi
53
+ - travis_retry $PIP install -U pip wheel tox-travis
54
+ - travis_retry $PIP install -U -r requirements.txt -e ".[test]"
52
55
53
56
script :
54
57
- tox
You can’t perform that action at this time.
0 commit comments