mirror of https://github.com/pypa/pip
Use tox -e pypy on Travis CI for PyPy 2.7 and 3.5
This commit is contained in:
parent
c4308c6e77
commit
20356a7142
|
@ -27,7 +27,7 @@ fi
|
|||
echo "Determining correct TOXENV..."
|
||||
if [[ -z "$TOXENV" ]]; then
|
||||
if [[ ${TRAVIS_PYTHON_VERSION} == pypy* ]]; then
|
||||
export TOXENV=${TRAVIS_PYTHON_VERSION}
|
||||
export TOXENV=pypy
|
||||
else
|
||||
# We use the syntax ${string:index:length} to make 2.7 -> py27
|
||||
_major=${TRAVIS_PYTHON_VERSION:0:1}
|
||||
|
|
Loading…
Reference in New Issue