Merge pull request #223 from nicoddemus/travis-stages

Change Travis configuration to use stages in CI
This commit is contained in:
Ronny Pfannschmidt
2017-08-17 09:39:16 +02:00
committed by GitHub

View File

@@ -1,5 +1,16 @@
sudo: false sudo: false
language: python language: python
notifications:
irc:
channels:
- 'chat.freenode.net#pytest'
on_success: change
on_failure: change
skip_join: true
email:
- pytest-commit@python.org
python: python:
- '2.6' - '2.6'
- '2.7' - '2.7'
@@ -10,25 +21,24 @@ env:
- TOXENV=py-pytest30 - TOXENV=py-pytest30
- TOXENV=py-pytest31 - TOXENV=py-pytest31
- TOXENV=py-pytest32 - TOXENV=py-pytest32
install: pip install tox setuptools_scm install: pip install tox setuptools_scm
matrix: script: tox
jobs:
include: include:
# note: please use "tox --listenvs" to populate the build matrix - stage: test
# python x env above are already included into this stage
- python: "3.6" - python: "3.6"
env: TOXENV=flakes env: TOXENV=flakes
- python: "3.6" - python: "3.6"
env: TOXENV=readme env: TOXENV=readme
script: tox - stage: deploy
notifications: python: '3.6'
irc: env:
channels: install: skip
- chat.freenode.net#pytest script: skip
on_success: change
on_failure: change
skip_join: true
email:
- pytest-commit@python.org
deploy: deploy:
provider: pypi provider: pypi
user: ronny user: ronny