2018-02-08 13:04:19 -08:00
|
|
|
os: linux
|
2018-12-23 23:55:42 +08:00
|
|
|
dist: xenial
|
2012-05-27 18:31:07 -07:00
|
|
|
language: python
|
2019-01-06 07:52:03 -08:00
|
|
|
python:
|
|
|
|
|
- "3.7"
|
|
|
|
|
- "3.6"
|
|
|
|
|
- "3.5"
|
|
|
|
|
- "3.4"
|
|
|
|
|
- "2.7"
|
|
|
|
|
- nightly
|
|
|
|
|
- pypy3.5-6.0
|
|
|
|
|
env: TOXENV=py,codecov
|
2012-05-27 18:31:07 -07:00
|
|
|
|
2013-06-13 09:00:24 +01:00
|
|
|
matrix:
|
2017-05-24 15:41:35 -07:00
|
|
|
include:
|
2019-01-06 07:52:03 -08:00
|
|
|
- env: TOXENV=docs-html
|
|
|
|
|
- env: TOXENV=devel,lowest,codecov
|
2018-02-07 06:56:14 -08:00
|
|
|
- os: osx
|
|
|
|
|
language: generic
|
2019-01-06 07:52:03 -08:00
|
|
|
env: TOXENV=py3,codecov
|
2018-05-29 11:46:04 -07:00
|
|
|
cache:
|
|
|
|
|
directories:
|
|
|
|
|
- $HOME/Library/Caches/Homebrew
|
|
|
|
|
- $HOME/Library/Caches/pip
|
2018-01-28 12:06:59 -08:00
|
|
|
allow_failures:
|
|
|
|
|
- python: nightly
|
2019-01-06 07:52:03 -08:00
|
|
|
- python: pypy3.5-6.0
|
2018-02-07 06:56:14 -08:00
|
|
|
- os: osx
|
|
|
|
|
fast_finish: true
|
2013-06-13 09:00:24 +01:00
|
|
|
|
2018-02-08 13:04:19 -08:00
|
|
|
before_install:
|
2018-05-29 11:46:04 -07:00
|
|
|
- |
|
|
|
|
|
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
|
|
|
|
brew upgrade python
|
|
|
|
|
export PATH="/usr/local/opt/python/libexec/bin:${PATH}"
|
2018-02-08 13:04:19 -08:00
|
|
|
fi
|
|
|
|
|
|
2013-05-31 00:56:09 +01:00
|
|
|
install:
|
2017-05-24 15:41:35 -07:00
|
|
|
- pip install tox
|
2013-05-23 14:17:51 +01:00
|
|
|
|
2014-09-01 00:30:27 +02:00
|
|
|
script:
|
2017-05-24 15:41:35 -07:00
|
|
|
- tox
|
2012-06-17 14:13:53 +01:00
|
|
|
|
2017-05-24 15:41:35 -07:00
|
|
|
cache:
|
2019-01-06 07:52:03 -08:00
|
|
|
directories:
|
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
|
- $HOME/.cache/pre-commit
|
2012-10-07 16:08:00 +02:00
|
|
|
|
2017-07-14 22:37:53 -07:00
|
|
|
branches:
|
|
|
|
|
only:
|
|
|
|
|
- master
|
2019-01-06 07:52:03 -08:00
|
|
|
- /^\d+(\.\d+)*-maintenance$/
|
|
|
|
|
- /^\d+(\.\d+)*(\.x)?$/
|
2017-07-14 22:37:53 -07:00
|
|
|
|
2012-10-07 16:08:00 +02:00
|
|
|
notifications:
|
|
|
|
|
email: false
|