mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
a4209aa0fb
Add a new testsuite option `--use-venv` to enable the use of `venv` for creating a test virtual environment. The option is opt-in because creating a `venv` environment does not work right when running under a `virtualenv`; which is why `tox-venv` must be used in combination with tox.
81 lines
1.9 KiB
YAML
81 lines
1.9 KiB
YAML
language: python
|
|
cache: pip
|
|
dist: trusty
|
|
python: 3.6
|
|
|
|
stages:
|
|
- primary
|
|
- secondary
|
|
|
|
jobs:
|
|
include:
|
|
# Basic Checks
|
|
- stage: primary
|
|
env: TOXENV=docs
|
|
- env: TOXENV=lint-py2
|
|
python: 2.7
|
|
- env: TOXENV=lint-py3
|
|
- env: TOXENV=mypy
|
|
- env: TOXENV=packaging
|
|
# Latest CPython
|
|
- env: GROUP=1
|
|
python: 2.7
|
|
- env: GROUP=2
|
|
python: 2.7
|
|
- env: GROUP=1
|
|
python: 3.6
|
|
- env: GROUP=2
|
|
python: 3.6
|
|
# Complete checking for ensuring compatibility
|
|
# PyPy
|
|
- stage: secondary
|
|
env: GROUP=1
|
|
python: pypy3
|
|
- env: GROUP=2
|
|
python: pypy3
|
|
- env: GROUP=1
|
|
python: pypy
|
|
- env: GROUP=2
|
|
python: pypy
|
|
# Other Supported CPython
|
|
- env: GROUP=1
|
|
python: 3.7
|
|
dist: xenial
|
|
- env: GROUP=2
|
|
python: 3.7
|
|
dist: xenial
|
|
- env: GROUP=1
|
|
python: 3.5
|
|
- env: GROUP=2
|
|
python: 3.5
|
|
- env: GROUP=1
|
|
python: 3.4
|
|
- env: GROUP=2
|
|
python: 3.4
|
|
|
|
- env: GROUP=1
|
|
python: 3.8-dev
|
|
dist: xenial
|
|
- env: GROUP=2
|
|
python: 3.8-dev
|
|
dist: xenial
|
|
|
|
# It's okay to fail on the in-development CPython version.
|
|
fast_finish: true
|
|
allow_failures:
|
|
- python: 3.8-dev
|
|
|
|
before_install: tools/travis/setup.sh
|
|
install: travis_retry tools/travis/install.sh
|
|
script: tools/travis/run.sh
|
|
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
# This is set to a secure variable to prevent forks from notifying the
|
|
# IRC channel whenever they fail a build. This can be removed when travis
|
|
# implements https://github.com/travis-ci/travis-ci/issues/1094.
|
|
# The actual value here is: irc.freenode.org#pypa-dev
|
|
- secure: zAlwcmrDThlRsZz7CPDGpj4ABTzf7bc/zQXYtvIuqmSj0yJMAwsO5Vx/+qdTGYBvmW/oHw2s/uUgtkZzntSQiVQToKMag2fs0d3wV5bLJQUE2Si2jnH2JOQo3JZWSo9HOqL6WYmlKGI8lH9FVTdVLgpeJmIpLy1bN4zx4/TiJjc=
|
|
skip_join: true
|
|
use_notice: true
|