Skip to content

Commit

Permalink
Skip pypy nightly test when even pip fails
Browse files Browse the repository at this point in the history
Like right now, ctypes is broken, so pip just crashes:
  https://travis-ci.org/python-trio/trio/jobs/266668451
  • Loading branch information
njsmith committed Aug 21, 2017
1 parent 34dcf76 commit 312e3b1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ci/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ if [ "$USE_PYPY_NIGHTLY" = "1" ]; then
# something like "pypy-c-jit-89963-748aa3022295-linux64"
PYPY_DIR=$(echo pypy-c-jit-*)
PYTHON_EXE=$PYPY_DIR/bin/pypy3
$PYTHON_EXE -m ensurepip
$PYTHON_EXE -m pip install virtualenv
$PYTHON_EXE -m virtualenv testenv
($PYTHON_EXE -m ensurepip
&& $PYTHON_EXE -m pip install virtualenv
&& $PYTHON_EXE -m virtualenv testenv) || (
echo "pypy nightly is broken; skipping tests"
exit 0
)
source testenv/bin/activate
fi

Expand Down

0 comments on commit 312e3b1

Please sign in to comment.