Skip to content

Commit

Permalink
Add PyPy3 to travis config; disable most other builds for testing pur…
Browse files Browse the repository at this point in the history
…poses for now. Still need to add PyPy3 specific tests.
  • Loading branch information
jamadden committed Oct 22, 2016
1 parent 6249130 commit afa27cf
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Expand Up @@ -9,15 +9,16 @@ env:
matrix:
# These are ordered to get as much diversity in the
# first group of parallel runs (4) as posible
- TASK=test-py27-noembed
#- TASK=test-py27-noembed
- TASK=test-pypy
- TASK=test-py36
#- TASK=test-py36
- TASK=lint-py27
- TASK=test-py35
- TASK=test-py278
- TASK=test-py27
- TASK=test-py34
- TASK=test-py27-cffi
#- TASK=test-py35
#- TASK=test-py278
#- TASK=test-py27
#- TASK=test-py34
#- TASK=test-py27-cffi
- TASK=test-pypy3


matrix:
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Expand Up @@ -110,6 +110,7 @@ PY34=$(BUILD_RUNTIMES)/snakepit/python3.4
PY35=$(BUILD_RUNTIMES)/snakepit/python3.5
PY36=$(BUILD_RUNTIMES)/snakepit/python3.6
PYPY=$(BUILD_RUNTIMES)/snakepit/pypy54
PYPY3=$(BUILD_RUNTIMES)/snakepit/pypy3.3_5.5

TOOLS=$(BUILD_RUNTIMES)/tools

Expand Down Expand Up @@ -139,6 +140,9 @@ $(PY36):
$(PYPY):
scripts/install.sh pypy

$(PYPY3):
scripts/install.sh pypy3

PIP?=$(BUILD_RUNTIMES)/versions/$(PYTHON)/bin/pip

develop:
Expand Down Expand Up @@ -175,6 +179,9 @@ test-py36: $(PY36)
test-pypy: $(PYPY)
PYTHON=$(PYPY) PIP=pip PATH=$(BUILD_RUNTIMES)/versions/pypy54/bin:$(PATH) make develop toxtest

test-pypy3: $(PYPY3)
PYTHON=$(PYPY3) PIP=pip PATH=$(BUILD_RUNTIMES)/versions/pypy3.3_5.5/bin:$(PATH) make develop toxtest

test-py27-cffi: $(PY27)
GEVENT_CORE_CFFI_ONLY=1 PYTHON=python2.7 PATH=$(BUILD_RUNTIMES)/versions/python2.7/bin:$(PATH) make develop toxtest

Expand Down
3 changes: 3 additions & 0 deletions scripts/install.sh
Expand Up @@ -105,5 +105,8 @@ for var in "$@"; do
pypy)
install pypy2-5.4 pypy54
;;
pypy3)
install pypy3-5.5-alpha pypy3.3_5.5
;;
esac
done
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
py27,py33,py34,py35,py36,py27-cffi,pypy,lint
py27,py33,py34,py35,py36,py27-cffi,pypy,pypy3,lint

[testenv]
deps =
Expand Down

0 comments on commit afa27cf

Please sign in to comment.