Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.7 to the build matrix #1150

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -21,6 +21,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 @@ -66,6 +67,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 @@ -140,6 +144,9 @@ check-py35: $(PY35) $(TOX)
check-py36: $(BEST_PY3) $(TOX)
$(call run_tox,py36-full)

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

check-pypy: $(PYPY) $(TOX)
$(call run_tox,pypy-full)

Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/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}
envlist = py{27,34,35,36,37,py}-{brief,prettyquick,full,custom}
toxworkdir={env:TOX_WORK_DIR:.tox}

[testenv]
Expand Down
8 changes: 6 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
# have to go through and you should feel free to use this to avoid some of
# that suffering in advance.

set -e
set -x
set -o errexit
set -o nounset
set -o xtrace

# OS X seems to have some weird Localse problems on Travis. This attempts to set
# the Locale to known good ones during install
Expand Down Expand Up @@ -100,6 +101,9 @@ for var in "$@"; do
3.6)
install 3.6.1 python3.6
;;
3.7)
install 3.7.0b3 python3.7
;;
pypy)
install pypy2.7-5.8.0 pypy
;;
Expand Down