flask/.travis.yml

57 lines
927 B
YAML
Raw Normal View History

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
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:
include:
- env: TOXENV=docs-html
- env: TOXENV=devel,lowest,codecov
- os: osx
language: generic
env: TOXENV=py3,codecov
cache:
directories:
- $HOME/Library/Caches/Homebrew
- $HOME/Library/Caches/pip
2018-01-28 12:06:59 -08:00
allow_failures:
- python: nightly
- python: pypy3.5-6.0
- os: osx
fast_finish: true
2013-06-13 09:00:24 +01:00
2018-02-08 13:04:19 -08:00
before_install:
- |
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
install:
- pip install tox
2013-05-23 14:17:51 +01:00
2014-09-01 00:30:27 +02:00
script:
- tox
2012-06-17 14:13:53 +01:00
cache:
directories:
- $HOME/.cache/pip
- $HOME/.cache/pre-commit
2017-07-14 22:37:53 -07:00
branches:
only:
- master
- /^\d+(\.\d+)*-maintenance$/
- /^\d+(\.\d+)*(\.x)?$/
2017-07-14 22:37:53 -07:00
notifications:
email: false