Enable PyPy3 (#562)

* Enable PyPy3
This commit is contained in:
Markus Unterwaditzer 2017-02-23 16:44:16 +01:00 committed by GitHub
parent 821c70a782
commit b3e389cb59
3 changed files with 28 additions and 4 deletions

View file

@ -165,6 +165,30 @@
"env": "BUILD=test DAV_SERVER=davical REQUIREMENTS=minimal ",
"python": "3.6"
},
{
"env": "BUILD=test DAV_SERVER=skip REQUIREMENTS=devel ",
"python": "pypy3"
},
{
"env": "BUILD=test DAV_SERVER=skip REQUIREMENTS=release ",
"python": "pypy3"
},
{
"env": "BUILD=test DAV_SERVER=skip REQUIREMENTS=minimal ",
"python": "pypy3"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel ",
"python": "pypy3"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=release ",
"python": "pypy3"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=minimal ",
"python": "pypy3"
},
{
"env": "BUILD=test",
"language": "generic",

View file

@ -2,7 +2,7 @@ import itertools
import json
import sys
python_versions = ("3.3", "3.4", "3.5", "3.6")
python_versions = ("3.3", "3.4", "3.5", "3.6", "pypy3")
latest_python = "3.6"
cfg = {}

View file

@ -5,13 +5,13 @@
# temporary pyenv installation to get pypy-2.6 before container infra
# upgrade
# Taken from werkzeug, which took it from pyca/cryptography
if [ "$TRAVIS_PYTHON_VERSION" = "pypy" ]; then
if [ "$TRAVIS_PYTHON_VERSION" = "pypy3" ]; then
git clone https://github.com/yyuu/pyenv.git ~/.pyenv;
PYENV_ROOT="$HOME/.pyenv";
PATH="$PYENV_ROOT/bin:$PATH";
eval "$(pyenv init -)";
pyenv install pypy-4.0.1;
pyenv global pypy-4.0.1;
pyenv install pypy3.3-5.5-alpha;
pyenv global pypy3.3-5.5-alpha;
python --version;
pip --version;
fi