Merge pull request #3044 from garenchan/ci-test

Add Python 3.7 to CI.
This commit is contained in:
David Lord 2019-01-06 08:00:23 -08:00 committed by GitHub
commit 446cea9221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 26 deletions

View file

@ -3,7 +3,7 @@ environment:
TOXENV: py,codecov
matrix:
- PYTHON: C:\Python36-x64
- PYTHON: C:\Python37-x64
- PYTHON: C:\Python27-x64
init:

View file

@ -1,34 +1,30 @@
os: linux
sudo: false
dist: xenial
language: python
python:
- "3.7"
- "3.6"
- "3.5"
- "3.4"
- "2.7"
- nightly
- pypy3.5-6.0
env: TOXENV=py,codecov
matrix:
include:
- python: 3.6
env: TOXENV=py,simplejson,devel,lowest,codecov
- python: 3.6
env: TOXENV=docs-html
- python: 3.5
env: TOXENV=py,codecov
- python: 3.4
env: TOXENV=py,codecov
- python: 2.7
env: TOXENV=py,simplejson,devel,lowest,codecov
- python: pypy3
env: TOXENV=py,codecov
- python: nightly
env: TOXENV=py
- env: TOXENV=docs-html
- env: TOXENV=devel,lowest,codecov
- os: osx
language: generic
env: TOXENV=py3,py2,codecov
env: TOXENV=py3,codecov
cache:
pip: false
directories:
- $HOME/Library/Caches/Homebrew
- $HOME/Library/Caches/pip
allow_failures:
- python: pypy3
- python: nightly
- python: pypy3.5-6.0
- os: osx
fast_finish: true
@ -36,7 +32,6 @@ before_install:
- |
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
brew upgrade python
brew install python@2;
export PATH="/usr/local/opt/python/libexec/bin:${PATH}"
fi
@ -47,12 +42,15 @@ script:
- tox
cache:
- pip
directories:
- $HOME/.cache/pip
- $HOME/.cache/pre-commit
branches:
only:
- master
- /^.*-maintenance$/
- /^\d+(\.\d+)*-maintenance$/
- /^\d+(\.\d+)*(\.x)?$/
notifications:
email: false

View file

@ -1,9 +1,9 @@
[tox]
envlist =
py{36,35,34,27,py}
py{36,27,py}-simplejson
py{36,27,py}-devel
py{36,27,py}-lowest
py{37,36,35,34,27,py}
py{37,27,py}-simplejson
py{37,27,py}-devel
py{37,27,py}-lowest
docs-html
coverage-report