Travis CI Python versions; install fix

This commit is contained in:
Jakub Roztocil 2018-07-12 21:33:12 +02:00
parent bf73b5701e
commit f93f4fa7c7

View File

@ -5,16 +5,24 @@ os:
- linux - linux
env: env:
global: global:
- NEWEST_PYTHON=3.7 - NEWEST_PYTHON=3.7-dev # Final Python 3.7 no available as of now
python: python:
# <https://docs.travis-ci.com/user/languages/python/>
- 2.7 - 2.7
- 3.4
- 3.5 - 3.5
# Python 3.4 fails installing packages
# <https://travis-ci.org/jakubroztocil/httpie/jobs/403263566#L636>
# - 3.4
- 3.6 - 3.6
- 3.7 - 3.7-dev # Final Python 3.7 no available as of now
- pypy - pypy
# pypy3 currently fails because of a Flask issue # pypy3 currently fails because of a Flask issue
# - pypy3 # - pypy3
cache: pip cache: pip
matrix: matrix:
include: include:
@ -45,10 +53,10 @@ matrix:
install: install:
- | - |
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
sudo pip install tox
if [[ -n "$BREW_PYTHON_PACKAGE" ]]; then if [[ -n "$BREW_PYTHON_PACKAGE" ]]; then
brew install "$BREW_PYTHON_PACKAGE" brew install "$BREW_PYTHON_PACKAGE"
fi fi
sudo pip install tox
fi fi
script: script:
- | - |