Merge pull request #1161 from anthrotype/allow-failures-osx
[travis] fast_finish + allow_failures for OSX builds
This commit is contained in:
commit
83460d4a57
19
.travis.yml
19
.travis.yml
@ -1,9 +1,17 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
|
python: 3.5
|
||||||
|
|
||||||
|
# empty "env:" is needed for 'allow_failures'
|
||||||
|
# https://docs.travis-ci.com/user/customizing-the-build/#Rows-that-are-Allowed-to-Fail
|
||||||
|
env:
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
exclude:
|
||||||
|
# Exclude the default Python 3.5 build
|
||||||
|
- python: 3.5
|
||||||
include:
|
include:
|
||||||
- python: 2.7
|
- python: 2.7
|
||||||
env: TOXENV=py27-cov
|
env: TOXENV=py27-cov
|
||||||
@ -32,6 +40,17 @@ matrix:
|
|||||||
- PYENV_VERSION_STRING='Python 2.7.6'
|
- PYENV_VERSION_STRING='Python 2.7.6'
|
||||||
- PYENV_ROOT=$HOME/.travis-pyenv
|
- PYENV_ROOT=$HOME/.travis-pyenv
|
||||||
- TRAVIS_PYENV_VERSION='0.4.0'
|
- TRAVIS_PYENV_VERSION='0.4.0'
|
||||||
|
allow_failures:
|
||||||
|
# We use fast_finish + allow_failures because OSX builds take forever
|
||||||
|
# https://blog.travis-ci.com/2013-11-27-fast-finishing-builds
|
||||||
|
- language: generic
|
||||||
|
os: osx
|
||||||
|
env: TOXENV=py27-cov
|
||||||
|
- language: generic
|
||||||
|
os: osx
|
||||||
|
env:
|
||||||
|
- TOXENV=py36-cov
|
||||||
|
- HOMEBREW_NO_AUTO_UPDATE=1
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- pip
|
- pip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user