Use py36 as preferred Python 3 interpreter for CI testing

This commit is contained in:
Bruno Oliveira 2017-08-14 19:28:54 -03:00
parent 362b1b3c4f
commit 7b5d26c1a8
4 changed files with 19 additions and 18 deletions

View File

@ -1,7 +1,7 @@
sudo: false sudo: false
language: python language: python
python: python:
- '3.5' - '3.6'
# command to install dependencies # command to install dependencies
install: install:
- pip install --upgrade --pre tox - pip install --upgrade --pre tox
@ -14,18 +14,17 @@ env:
- TOXENV=linting - TOXENV=linting
- TOXENV=py27 - TOXENV=py27
- TOXENV=py34 - TOXENV=py34
- TOXENV=py35 - TOXENV=py36
- TOXENV=py27-pexpect - TOXENV=py27-pexpect
- TOXENV=py27-xdist - TOXENV=py27-xdist
- TOXENV=py27-trial - TOXENV=py27-trial
- TOXENV=py27-numpy - TOXENV=py27-numpy
- TOXENV=py35-pexpect - TOXENV=py36-pexpect
- TOXENV=py35-xdist - TOXENV=py36-xdist
- TOXENV=py35-trial - TOXENV=py36-trial
- TOXENV=py35-numpy - TOXENV=py36-numpy
- TOXENV=py27-nobyte - TOXENV=py27-nobyte
- TOXENV=doctesting - TOXENV=doctesting
- TOXENV=freeze
- TOXENV=docs - TOXENV=docs
matrix: matrix:
@ -36,8 +35,10 @@ matrix:
python: '3.3' python: '3.3'
- env: TOXENV=pypy - env: TOXENV=pypy
python: 'pypy-5.4' python: 'pypy-5.4'
- env: TOXENV=py36 - env: TOXENV=py35
python: '3.6' python: '3.5'
- env: TOXENV=py35-freeze
python: '3.5'
- env: TOXENV=py37 - env: TOXENV=py37
python: 'nightly' python: 'nightly'
allow_failures: allow_failures:

View File

@ -21,13 +21,13 @@ environment:
- TOXENV: "py27-xdist" - TOXENV: "py27-xdist"
- TOXENV: "py27-trial" - TOXENV: "py27-trial"
- TOXENV: "py27-numpy" - TOXENV: "py27-numpy"
- TOXENV: "py35-pexpect" - TOXENV: "py36-pexpect"
- TOXENV: "py35-xdist" - TOXENV: "py36-xdist"
- TOXENV: "py35-trial" - TOXENV: "py36-trial"
- TOXENV: "py35-numpy" - TOXENV: "py36-numpy"
- TOXENV: "py27-nobyte" - TOXENV: "py27-nobyte"
- TOXENV: "doctesting" - TOXENV: "doctesting"
- TOXENV: "freeze" - TOXENV: "py35-freeze"
- TOXENV: "docs" - TOXENV: "docs"
install: install:
@ -36,7 +36,7 @@ install:
- if "%TOXENV%" == "pypy" call scripts\install-pypy.bat - if "%TOXENV%" == "pypy" call scripts\install-pypy.bat
- C:\Python35\python -m pip install --upgrade --pre tox - C:\Python36\python -m pip install --upgrade --pre tox
build: false # Not a C# project, build stuff at the test step instead. build: false # Not a C# project, build stuff at the test step instead.

View File

@ -5,4 +5,4 @@ if "%TOXENV%" == "coveralls" (
exit /b 0 exit /b 0
) )
) )
C:\Python35\python -m tox C:\Python36\python -m tox

View File

@ -15,7 +15,7 @@ envlist =
{py27,py35}-{pexpect,xdist,trial,numpy} {py27,py35}-{pexpect,xdist,trial,numpy}
py27-nobyte py27-nobyte
doctesting doctesting
freeze py35-freeze
docs docs
[testenv] [testenv]
@ -169,7 +169,7 @@ changedir = testing
commands = commands =
{envpython} {envbindir}/py.test-jython -rfsxX {posargs} {envpython} {envbindir}/py.test-jython -rfsxX {posargs}
[testenv:freeze] [testenv:py35-freeze]
changedir = testing/freeze changedir = testing/freeze
deps = pyinstaller deps = pyinstaller
commands = commands =