pip/.travis.yml

79 lines
1.8 KiB
YAML
Raw Normal View History

language: python
2018-03-01 15:10:05 +01:00
cache: pip
2018-12-08 04:46:19 +01:00
dist: xenial
python: 3.6
addons:
apt:
packages:
- bzr
2018-05-29 21:14:34 +02:00
stages:
- primary
- secondary
jobs:
include:
# Basic Checks
2018-05-29 21:14:34 +02:00
- stage: primary
env: TOXENV=docs
- env: TOXENV=lint-py2
python: 2.7
- env: TOXENV=lint-py3
2017-06-14 08:08:11 +02:00
- 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
2018-12-09 07:34:46 +01:00
2018-05-29 21:14:34 +02:00
# Complete checking for ensuring compatibility
# PyPy
2018-05-29 21:14:34 +02:00
- stage: secondary
env: GROUP=1
python: pypy3.5-6.0
- env: GROUP=2
python: pypy3.5-6.0
- env: GROUP=1
python: pypy2.7-6.0
- env: GROUP=2
python: pypy2.7-6.0
# Other Supported CPython
2018-07-02 21:22:16 +02:00
- env: GROUP=1
python: 3.7
2018-07-02 21:22:16 +02:00
- env: GROUP=2
python: 3.7
- env: GROUP=1
python: 3.5
- env: GROUP=2
python: 3.5
- env: GROUP=1
2018-07-02 21:22:16 +02:00
python: 3.8-dev
- env: GROUP=2
2018-07-02 21:22:16 +02:00
python: 3.8-dev
fast_finish: true
2018-12-09 07:34:46 +01:00
# It's okay to fail on the in-development CPython version.
allow_failures:
2018-07-02 21:22:16 +02:00
- python: 3.8-dev
2018-06-15 18:24:55 +02:00
before_install: tools/travis/setup.sh
install: travis_retry tools/travis/install.sh
script: tools/travis/run.sh
notifications:
irc:
channels:
2017-05-29 07:26:31 +02:00
# 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