Skip to content

Commit 9b31ff7

Browse files
committed
Add support and testing for PyPy 4.0
1 parent 51a8a47 commit 9b31ff7

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ matrix:
2121
- python: 3.5
2222
env: TOX_ENV=py35
2323
- python: pypy
24-
env: TOX_ENV=pypy
24+
env: TOX_ENV=pypy PYPY_VERSION='4.0.0'
2525
- python: 2.7
2626
env: TOX_ENV=pep8
2727
- python: 2.7

.travis/install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then
4242
pyenv global 3.5.0
4343
;;
4444
pypy)
45-
pyenv install pypy-2.6.0
46-
pyenv global pypy-2.6.0
45+
pyenv install "pypy-${PYPY_VERSION}"
46+
pyenv global "pypy-${PYPY_VERSION}"
4747
;;
4848
esac
4949
pyenv rehash
5050
python -m pip install -U --user virtualenv
5151
else
52-
# temporary pyenv installation to get pypy-2.6 before container infra upgrade
52+
# pyenv installation to get specified pypy version (Travis may only have older version(s))
5353
if [[ "${TOX_ENV}" == "pypy" ]]; then
5454
git clone https://github.com/yyuu/pyenv.git $PWD/.pyenv
5555
export PYENV_ROOT="$PWD/.pyenv"
5656
export PATH="$PYENV_ROOT/bin:$PATH"
5757
eval "$(pyenv init -)"
58-
pyenv install pypy-2.6.0
59-
pyenv global pypy-2.6.0
58+
pyenv install "pypy-${PYPY_VERSION}"
59+
pyenv global "pypy-${PYPY_VERSION}"
6060
fi
6161
pip install -U virtualenv
6262
fi

.travis/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ else
1414
export PYENV_ROOT="$PWD/.pyenv"
1515
export PATH="$PYENV_ROOT/bin:$PATH"
1616
eval "$(pyenv init -)"
17-
pyenv global pypy-2.6.0
17+
pyenv global "pypy-${PYPY_VERSION}"
1818
fi
1919
fi
2020
source $PWD/.venv/bin/activate

HISTORY.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Upcoming
77
++++++++
88

99
- CPython 3.5 support.
10-
- Support for cryptography>=1.0 on PyPy 2.6.
11-
- Travis CI testing for CPython 3.5 and PyPy 2.6.0.
10+
- Support for cryptography>=1.0 on PyPy >=2.6.
11+
- Travis CI testing for CPython 3.5 and PyPy 4.0.
1212

1313
1.2.1 (2015-07-22)
1414
++++++++++++++++++

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Run all tests using -
312312
The tox tests include code style checks via pep8 and pylint.
313313

314314
The tox tests are configured to run on Python 2.6, 2.7, 3.3, 3.4, 3.5, and
315-
PyPy 2.6.
315+
PyPy (our CI is configured to run PyPy tests on PyPy 4.0).
316316

317317

318318
Support

0 commit comments

Comments
 (0)