Skip to content

Commit 80e4f05

Browse files
authored
Merge pull request kivy#1864 from opacam/feature-travis-enhancements
Make the tox jobs run in parallel &...
2 parents e599383 + dea96f2 commit 80e4f05

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313

1414
before_install:
1515
# https://github.com/travis-ci/travis-ci/issues/6069#issuecomment-266546552
16-
- git remote set-branches --add origin master
16+
- git remote set-branches --add origin develop
1717
- git fetch
1818

1919
env:
@@ -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)