Use tox -e pypy on Travis CI for PyPy 2.7 and 3.5

This commit is contained in:
Pradyun Gedam 2018-12-13 19:54:53 +05:30
parent c4308c6e77
commit 20356a7142
No known key found for this signature in database
GPG Key ID: DA17C4B29CB32E4B
1 changed files with 1 additions and 1 deletions

View File

@ -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}