10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f85ccd9 commit 9e1f993Copy full SHA for 9e1f993
.travis.yml
@@ -3,6 +3,22 @@ cache:
3
directories:
4
- $HOME/.cache/pip
5
6
+# Pending https://github.com/travis-ci/travis-ci/issues/5027
7
+before_install:
8
+ - |
9
+ if [ "$TRAVIS_PYTHON_VERSION" = "pypy" ]; then
10
+ export PYENV_ROOT="$HOME/.pyenv"
11
+ if [ -f "$PYENV_ROOT/bin/pyenv" ]; then
12
+ cd "$PYENV_ROOT" && git pull
13
+ else
14
+ rm -rf "$PYENV_ROOT" && git clone --depth 1 https://github.com/yyuu/pyenv.git "$PYENV_ROOT"
15
+ fi
16
+ export PYPY_VERSION="4.0.1"
17
+ "$PYENV_ROOT/bin/pyenv" install "pypy-$PYPY_VERSION"
18
+ virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION"
19
+ source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate"
20
21
+
22
language: python
23
24
matrix:
0 commit comments