Skip to content

Commit

Permalink
Put stages in travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyattablet committed Dec 21, 2018
1 parent b5506fe commit f55ac9d
Showing 1 changed file with 46 additions and 6 deletions.
52 changes: 46 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,40 @@ jobs:
language: python
sudo: true
dist: xenial
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- '3.7'
python: '2.7'
install:
- pip install -r requirements_dev.txt
- pip install tox-travis
script:
- tox
- coverage combine
- coverage report -m
- language: python
sudo: true
dist: xenial
python: '3.4'
install:
- pip install -r requirements_dev.txt
- pip install tox-travis
script:
- tox
- coverage combine
- coverage report -m
- language: python
sudo: true
dist: xenial
python: '3.5'
install:
- pip install -r requirements_dev.txt
- pip install tox-travis
script:
- tox
- coverage combine
- coverage report -m
- language: python
sudo: true
dist: xenial
python: '3.6'
install:
- pip install -r requirements_dev.txt
- pip install tox-travis
Expand All @@ -19,7 +47,19 @@ jobs:
- coverage report -m
after_success:
- coveralls
- language: python
sudo: true
dist: xenial
python: '3.7'
install:
- pip install -r requirements_dev.txt
- pip install tox-travis
script:
- tox
- coverage combine
- coverage report -m
- stage: "Deploy"
language: python
script: skip
deploy:
provider: pypi
Expand Down

0 comments on commit f55ac9d

Please sign in to comment.