2014-05-08 20:24:50 +02:00
|
|
|
language: python
|
2017-07-02 19:47:37 +02:00
|
|
|
sudo: false
|
2018-03-01 15:10:05 +01:00
|
|
|
cache: pip
|
2017-08-09 22:12:32 +02:00
|
|
|
dist: trusty
|
2017-07-02 19:47:37 +02:00
|
|
|
|
2018-05-29 21:14:34 +02:00
|
|
|
stages:
|
|
|
|
- primary
|
|
|
|
- secondary
|
|
|
|
|
2018-05-29 21:14:21 +02:00
|
|
|
jobs:
|
2016-09-18 04:39:48 +02:00
|
|
|
include:
|
2018-05-29 21:14:21 +02:00
|
|
|
# Basic Checks
|
2018-05-29 21:14:34 +02:00
|
|
|
- stage: primary
|
|
|
|
env: TOXENV=docs
|
2017-07-06 01:51:42 +02:00
|
|
|
- env: TOXENV=lint-py2
|
|
|
|
- env: TOXENV=lint-py3
|
2018-05-29 21:14:21 +02:00
|
|
|
python: 3.6
|
2017-06-14 08:08:11 +02:00
|
|
|
- env: TOXENV=mypy
|
2016-09-18 04:39:48 +02:00
|
|
|
- env: TOXENV=packaging
|
2018-05-29 21:14:21 +02:00
|
|
|
# Latest CPython
|
|
|
|
- env: GROUP=1
|
2018-05-26 13:16:12 +02:00
|
|
|
python: 2.7
|
2018-05-29 21:14:21 +02:00
|
|
|
- env: GROUP=2
|
2017-05-15 10:54:18 +02:00
|
|
|
python: 2.7
|
2018-05-29 21:14:21 +02:00
|
|
|
- env: GROUP=1
|
2018-05-26 13:16:12 +02:00
|
|
|
python: 3.6
|
2018-05-29 21:14:21 +02:00
|
|
|
- env: GROUP=2
|
2017-08-16 19:06:54 +02:00
|
|
|
python: 3.6
|
2018-05-29 21:14:21 +02:00
|
|
|
|
2018-05-29 21:14:34 +02:00
|
|
|
# Complete checking for ensuring compatibility
|
2018-05-29 21:14:21 +02:00
|
|
|
# PyPy
|
2018-05-29 21:14:34 +02:00
|
|
|
- stage: secondary
|
|
|
|
env: GROUP=1
|
2018-05-29 21:14:21 +02:00
|
|
|
python: pypy3
|
|
|
|
- env: GROUP=2
|
|
|
|
python: pypy3
|
|
|
|
- env: GROUP=1
|
|
|
|
python: pypy
|
|
|
|
- env: GROUP=2
|
|
|
|
python: pypy
|
|
|
|
# Older Supported CPython
|
|
|
|
- env: GROUP=1
|
2018-05-26 13:16:12 +02:00
|
|
|
python: 3.5
|
2018-05-29 21:14:21 +02:00
|
|
|
- env: GROUP=2
|
2017-05-15 10:54:18 +02:00
|
|
|
python: 3.5
|
2018-05-29 21:14:21 +02:00
|
|
|
- env: GROUP=1
|
2018-05-26 13:16:12 +02:00
|
|
|
python: 3.4
|
2018-05-29 21:14:21 +02:00
|
|
|
- env: GROUP=2
|
2018-05-26 13:16:12 +02:00
|
|
|
python: 3.4
|
2018-05-29 21:14:21 +02:00
|
|
|
|
|
|
|
- env: GROUP=1
|
|
|
|
python: 3.7-dev
|
|
|
|
- env: GROUP=2
|
|
|
|
python: 3.7-dev
|
|
|
|
|
|
|
|
# It's okay to fail on the in-development CPython version.
|
|
|
|
fast_finish: true
|
2016-09-18 04:39:48 +02:00
|
|
|
allow_failures:
|
2018-05-29 21:14:21 +02:00
|
|
|
- python: 3.7-dev
|
2015-06-10 00:07:20 +02:00
|
|
|
|
2018-05-27 14:42:41 +02:00
|
|
|
before_install: .travis/setup.sh
|
2015-04-14 02:20:18 +02:00
|
|
|
install: travis_retry .travis/install.sh
|
2014-04-26 06:56:07 +02:00
|
|
|
script: .travis/run.sh
|
2013-08-28 10:29:39 +02:00
|
|
|
|
|
|
|
notifications:
|
2014-03-23 17:29:30 +01:00
|
|
|
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
|
2017-05-15 10:54:18 +02:00
|
|
|
- secure: zAlwcmrDThlRsZz7CPDGpj4ABTzf7bc/zQXYtvIuqmSj0yJMAwsO5Vx/+qdTGYBvmW/oHw2s/uUgtkZzntSQiVQToKMag2fs0d3wV5bLJQUE2Si2jnH2JOQo3JZWSo9HOqL6WYmlKGI8lH9FVTdVLgpeJmIpLy1bN4zx4/TiJjc=
|
2014-03-23 17:29:30 +01:00
|
|
|
skip_join: true
|
2017-05-15 10:54:18 +02:00
|
|
|
use_notice: true
|