Make sure a plain "tox" command works in all platforms without failures, which facilitates making releases using a "devpi upload/test" workflow * Fix small flakes failures * Limit py35 testing to pytest>=2.7, as pytest<2.7 does not work on py35 * pexpect environments only work on Linux platforms and should be skipped on Windows * Simplify AppVeyor script by running all tox environments: no need to have a build matrix because AppVeyor does not execute builds in parallel * Add all environments to travis.yml, obtained from "tox --listenvs"
44 lines
997 B
YAML
44 lines
997 B
YAML
sudo: false
|
|
language: python
|
|
python:
|
|
- '3.5'
|
|
# command to install dependencies
|
|
install: "pip install -U tox setuptools_scm"
|
|
# # command to run tests
|
|
env:
|
|
matrix:
|
|
# note: please use "tox --listenvs" to populate the build matrix
|
|
- TESTENV=py26-pytest24
|
|
- TESTENV=py26-pytest25
|
|
- TESTENV=py26-pytest26
|
|
- TESTENV=py26-pytest27
|
|
- TESTENV=py26-pytest28
|
|
- TESTENV=py27-pytest24
|
|
- TESTENV=py27-pytest25
|
|
- TESTENV=py27-pytest26
|
|
- TESTENV=py27-pytest27
|
|
- TESTENV=py27-pytest28
|
|
- TESTENV=py34-pytest24
|
|
- TESTENV=py34-pytest25
|
|
- TESTENV=py34-pytest26
|
|
- TESTENV=py34-pytest27
|
|
- TESTENV=py34-pytest28
|
|
- TESTENV=py35-pytest27
|
|
- TESTENV=py35-pytest28
|
|
- TESTENV=py27-pytest28-pexpect
|
|
- TESTENV=py35-pytest28-pexpect
|
|
- TESTENV=flakes
|
|
- TESTENV=readme
|
|
|
|
script: tox --recreate -e $TESTENV
|
|
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "chat.freenode.net#pytest"
|
|
on_success: change
|
|
on_failure: change
|
|
skip_join: true
|
|
email:
|
|
- pytest-commit@python.org
|