Skip to content

Commit dea96f2

Browse files
committed
[travis] Make tox jobs work in parallel
1 parent 2d45358 commit dea96f2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ env:
2323

2424
jobs:
2525
include:
26-
- stage: lint
27-
name: "Tox tests and coverage"
26+
- &linting
27+
stage: lint
2828
language: python
2929
python: 3.7
3030
before_script:
@@ -45,6 +45,14 @@ jobs:
4545
- tox -- tests/ --ignore tests/test_pythonpackage.py
4646
# (we ignore test_pythonpackage.py since these run way too long!!
4747
# test_pythonpackage_basic.py will still be run.)
48+
name: "Tox Pep8"
49+
env: TOXENV=pep8
50+
- <<: *linting
51+
name: "Tox Python 2"
52+
env: TOXENV=py27
53+
- <<: *linting
54+
name: "Tox Python 3 & Coverage"
55+
env: TOXENV=py3
4856
after_success:
4957
- coveralls
5058

0 commit comments

Comments
 (0)