Skip to content

Commit

Permalink
Add Python 3.7 environment to tox and Travis
Browse files Browse the repository at this point in the history
Fixes #377
  • Loading branch information
willkg committed Oct 8, 2018
1 parent 2052f00 commit cfd0be5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Expand Up @@ -18,12 +18,15 @@ install:

matrix:
include:
- python: 2.7
- python: "2.7"
env: MODE=lint
- python: 2.7
- python: "2.7"
env: MODE=vendorverify
- python: 3.4
- python: "3.4"
env: MODE=lint
- python: "3.7"
sudo: required
dist: xenial

script:
- ./scripts/run_tests.sh $MODE
12 changes: 10 additions & 2 deletions tox.ini
Expand Up @@ -7,9 +7,9 @@

[tox]
envlist =
py{27,34,35,36}
py{27,34,35,36,37}
pypy
py{27,34,35,36}-build-no-lang
py{27,34,35,36,37}-build-no-lang
docs
lint
vendorverify
Expand All @@ -20,6 +20,7 @@ basepython =
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
deps =
-rrequirements-dev.txt
commands =
Expand Down Expand Up @@ -54,6 +55,13 @@ setenv =
commands =
python setup.py build

[testenv:py37-build-no-lang]
basepython = python3.7
setenv =
LANG=
commands =
python setup.py build

[testenv:lint]
basepython = python3.6
changedir = scripts
Expand Down

0 comments on commit cfd0be5

Please sign in to comment.