Skip to content
This repository was archived by the owner on Mar 15, 2024. It is now read-only.

Commit 5312d51

Browse files
blueyedmfa
authored andcommitted
generate_configurations: do not add pytest_version to env
Leave out pytest_version, if there's only a single one being used.
1 parent 080db89 commit 5312d51

3 files changed

Lines changed: 144 additions & 142 deletions

File tree

.travis.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ language: python
22
python:
33
- "3.4"
44
env:
5-
- TESTENV=pypy-2.6.4-master-sqlite_file
6-
- TESTENV=pypy3-2.6.4-master-sqlite_file
7-
- TESTENV=python2.6-2.6.4-1.6-sqlite_file
8-
- TESTENV=python2.7-2.6.4-1.3-sqlite_file
9-
- TESTENV=python2.7-2.6.4-1.4-sqlite_file
10-
- TESTENV=python2.7-2.6.4-master-mysql_innodb
11-
- TESTENV=python2.7-2.6.4-master-mysql_myisam
12-
- TESTENV=python2.7-2.6.4-master-sqlite_file
13-
- TESTENV=python3.2-2.6.4-master-sqlite_file
14-
- TESTENV=python3.3-2.6.4-master-sqlite_file
15-
- TESTENV=python3.4-2.6.4-1.5-sqlite_file
16-
- TESTENV=python3.4-2.6.4-1.6-sqlite_file
17-
- TESTENV=python3.4-2.6.4-1.7-sqlite_file
18-
- TESTENV=python3.4-2.6.4-1.8-sqlite_file
19-
- TESTENV=python3.4-2.6.4-master-postgres
20-
- TESTENV=python3.4-2.6.4-master-sqlite
21-
- TESTENV=python3.4-2.6.4-master-sqlite_file
5+
- TESTENV=pypy-master-sqlite_file
6+
- TESTENV=pypy3-master-sqlite_file
7+
- TESTENV=python2.6-1.6-sqlite_file
8+
- TESTENV=python2.7-1.3-sqlite_file
9+
- TESTENV=python2.7-1.4-sqlite_file
10+
- TESTENV=python2.7-master-mysql_innodb
11+
- TESTENV=python2.7-master-mysql_myisam
12+
- TESTENV=python2.7-master-sqlite_file
13+
- TESTENV=python3.2-master-sqlite_file
14+
- TESTENV=python3.3-master-sqlite_file
15+
- TESTENV=python3.4-1.5-sqlite_file
16+
- TESTENV=python3.4-1.6-sqlite_file
17+
- TESTENV=python3.4-1.7-sqlite_file
18+
- TESTENV=python3.4-1.8-sqlite_file
19+
- TESTENV=python3.4-master-postgres
20+
- TESTENV=python3.4-master-sqlite
21+
- TESTENV=python3.4-master-sqlite_file
2222
- TESTENV=checkqa-python2.6
2323
- TESTENV=checkqa-python2.7
2424
- TESTENV=checkqa-python3.2

generate_configurations.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ def commands(uid, env):
113113

114114

115115
def testenv_name(env):
116+
if len(PYTEST_VERSIONS) == 1:
117+
env = [getattr(env, x) for x in env._fields if x != 'pytest_version']
116118
return '-'.join(env)
117119

118120

0 commit comments

Comments
 (0)