forked from extern/httpie-cli
Travis CI: Add Python 3.7 on linux to the testing (#690)
* Travis CI: Add Python 3.7 on linux to the testing `sudo: true` and `dist: xenial` are currently required https://github.com/travis-ci/travis-ci/issues/9069 * NEWEST_PYTHON=3.7
This commit is contained in:
parent
2490bb25ca
commit
eb929cbc04
13
.travis.yml
13
.travis.yml
@ -5,20 +5,19 @@ os:
|
||||
- linux
|
||||
env:
|
||||
global:
|
||||
- NEWEST_PYTHON=3.6 # Final Python 3.7 unavailable as of now (and -dev fails)
|
||||
- NEWEST_PYTHON=3.7
|
||||
python:
|
||||
# <https://docs.travis-ci.com/user/languages/python/>
|
||||
|
||||
- 2.7
|
||||
- 3.5
|
||||
|
||||
# Python 3.4 fails installing packages
|
||||
# <https://travis-ci.org/jakubroztocil/httpie/jobs/403263566#L636>
|
||||
# - 3.4
|
||||
|
||||
- 3.5
|
||||
- 3.6
|
||||
# Final Python 3.7 unavailable as of now (and -dev fails)
|
||||
# - 3.7
|
||||
# - 3.7 # is done in the matrix below as described in travis-ci/travis-ci#9069
|
||||
- pypy
|
||||
|
||||
# pypy3 currently fails because of a Flask issue
|
||||
@ -47,6 +46,12 @@ matrix:
|
||||
# Latest Python 3.x from Homebrew
|
||||
- TOXENV=py37 # <= needs to be kept up-to-date to reflect latest minor version
|
||||
- BREW_PYTHON_PACKAGE=python@3
|
||||
# Travis Python 3.7 must run sudo on
|
||||
- os: linux
|
||||
python: 3.7
|
||||
env: TOXENV=py37
|
||||
sudo: true # Required for Python 3.7
|
||||
dist: xenial # Required for Python 3.7
|
||||
# Add a codestyle-only build
|
||||
- os: linux
|
||||
python: 3.6
|
||||
|
Loading…
Reference in New Issue
Block a user