travis.yml: Fix build on nightly python

This commit is contained in:
Ben Darnell 2018-03-04 12:12:41 -05:00
parent 03f13800e8
commit ddc0220613
1 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,6 @@ sudo: false
matrix: matrix:
fast_finish: true fast_finish: true
# Nightly python is failing as of 2018-01-26
allow_failures:
- python: nightly
language: python language: python
# For a list of available versions, run # For a list of available versions, run
@ -23,6 +20,9 @@ python:
- pypy3.5-5.8.0 - pypy3.5-5.8.0
install: install:
# On nightly, upgrade setuptools first to work around
# https://github.com/pypa/setuptools/issues/1257
- if [[ $TRAVIS_PYTHON_VERSION == 'nightly' ]]; then travis_retry pip install -U setuptools; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then travis_retry pip install mock monotonic; fi - if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then travis_retry pip install mock monotonic; fi
- if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then travis_retry pip install mock; fi - if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then travis_retry pip install mock; fi
# TODO(bdarnell): pycares tests are currently disabled on travis due to ipv6 issues. # TODO(bdarnell): pycares tests are currently disabled on travis due to ipv6 issues.