8000 Remove travis pypy version hack (#240) · jcsdatera/client_python@b866384 · GitHub
[go: up one dir, main page]

Skip to content

Commit b866384

Browse files
bz2brian-brazil
authored andcommitted
Remove travis pypy version hack (prometheus#240)
From the linked issue, it's now possible with travis to explictly select a newer pypy version to use, and the defaults should be sane.
1 parent 6009899 commit b866384

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

.travis.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,6 @@ cache:
33
directories:
44
- $HOME/.cache/pip
55

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-
fi
21-
226
language: python
237

248
matrix:

0 commit comments

Comments
 (0)
0