Skip to content

Commit

Permalink
Merge pull request #1864 from opacam/feature-travis-enhancements
Browse files Browse the repository at this point in the history
Make the tox jobs run in parallel &...
  • Loading branch information
AndreMiras authored Jun 13, 2019
2 parents e599383 + dea96f2 commit 80e4f05
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:

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

env:
Expand All @@ -23,8 +23,8 @@ env:

jobs:
include:
- stage: lint
name: "Tox tests and coverage"
- &linting
stage: lint
language: python
python: 3.7
before_script:
Expand All @@ -45,6 +45,14 @@ jobs:
- tox -- tests/ --ignore tests/test_pythonpackage.py
# (we ignore test_pythonpackage.py since these run way too long!!
# test_pythonpackage_basic.py will still be run.)
name: "Tox Pep8"
env: TOXENV=pep8
- <<: *linting
name: "Tox Python 2"
env: TOXENV=py27
- <<: *linting
name: "Tox Python 3 & Coverage"
env: TOXENV=py3
after_success:
- coveralls

Expand Down

0 comments on commit 80e4f05

Please sign in to comment.