Skip to content

Commit

Permalink
Add Python 3.7 to the build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwlchan committed Mar 1, 2018
1 parent 3f89233 commit d1de427
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ env:
- TASK=check-pypy
- TASK=check-py27
- TASK=check-py36
- TASK=check-py37
- TASK=check-quality

# Less important tests that will probably
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ PY273=$(BUILD_RUNTIMES)/snakepit/python2.7.3
PY34=$(BUILD_RUNTIMES)/snakepit/python3.4
PY35=$(BUILD_RUNTIMES)/snakepit/python3.5
PY36=$(BUILD_RUNTIMES)/snakepit/python3.6
PY37=$(BUILD_RUNTIMES)/snakepit/python3.7
PYPY=$(BUILD_RUNTIMES)/snakepit/pypy

BEST_PY3=$(PY36)
Expand Down Expand Up @@ -55,6 +56,9 @@ $(PY35):
$(PY36):
scripts/retry.sh scripts/install.sh 3.6

$(PY37):
scripts/retry.sh scripts/install.sh 3.7


$(PYPY):
scripts/retry.sh scripts/install.sh pypy
Expand Down Expand Up @@ -130,6 +134,9 @@ check-py35: $(PY35) $(TOX)
check-py36: $(BEST_PY3) $(TOX)
$(TOX) --recreate -e py36-full

check-py37: $(PY37) $(TOX)
$(TOX) --recreate -e py37-full

check-pypy: $(PYPY) $(TOX)
$(TOX) --recreate -e pypy-full

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{27,34,35,36,py}-{brief,prettyquick,full,custom,benchmark}
envlist = py{27,34,35,36,37,py}-{brief,prettyquick,full,custom,benchmark}
toxworkdir={env:TOX_WORK_DIR:.tox}

passenv=
Expand Down

0 comments on commit d1de427

Please sign in to comment.