1
0
mirror of https://github.com/httpie/cli.git synced 2025-05-13 22:06:33 +02:00

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:
cclauss 2018-07-25 14:02:00 +02:00 committed by Jakub Roztočil
parent 2490bb25ca
commit eb929cbc04

View File

@ -5,20 +5,19 @@ os:
- linux - linux
env: env:
global: global:
- NEWEST_PYTHON=3.6 # Final Python 3.7 unavailable as of now (and -dev fails) - NEWEST_PYTHON=3.7
python: python:
# <https://docs.travis-ci.com/user/languages/python/> # <https://docs.travis-ci.com/user/languages/python/>
- 2.7 - 2.7
- 3.5
# Python 3.4 fails installing packages # Python 3.4 fails installing packages
# <https://travis-ci.org/jakubroztocil/httpie/jobs/403263566#L636> # <https://travis-ci.org/jakubroztocil/httpie/jobs/403263566#L636>
# - 3.4 # - 3.4
- 3.5
- 3.6 - 3.6
# Final Python 3.7 unavailable as of now (and -dev fails) # - 3.7 # is done in the matrix below as described in travis-ci/travis-ci#9069
# - 3.7
- pypy - pypy
# pypy3 currently fails because of a Flask issue # pypy3 currently fails because of a Flask issue
@ -47,6 +46,12 @@ matrix:
# Latest Python 3.x from Homebrew # Latest Python 3.x from Homebrew
- TOXENV=py37 # <= needs to be kept up-to-date to reflect latest minor version - TOXENV=py37 # <= needs to be kept up-to-date to reflect latest minor version
- BREW_PYTHON_PACKAGE=python@3 - 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 # Add a codestyle-only build
- os: linux - os: linux
python: 3.6 python: 3.6