update travis to use python 3.6.1

This commit is contained in:
jab 2017-03-25 17:42:59 -04:00
parent 4a8e94026f
commit 8c4e6b36eb
1 changed files with 5 additions and 4 deletions

View File

@ -18,15 +18,14 @@ matrix:
- python: "3.4" - python: "3.4"
env: env:
# Don't bother testing on 3.4; run the docs build instead. # Don't bother testing on 3.4; run the docs build instead.
#- PYENV_PYTHON_VER=3.4.5 #- PYENV_PYTHON_VER=3.4.6
- BIDICT_BUILD_DOCS_INSTEAD=1 - BIDICT_BUILD_DOCS_INSTEAD=1
- python: "3.5" - python: "3.5"
env: env:
- PYENV_PYTHON_VER=3.5.3 - PYENV_PYTHON_VER=3.5.3
- python: "3.6" - python: "3.6"
env: env:
# Travis has 3.6.0 installed already -> no need to use pyenv's - PYENV_PYTHON_VER=3.6.1
#- PYENV_PYTHON_VER=3.6.0
# Only generate coverage report on the job for latest Python 3 # Only generate coverage report on the job for latest Python 3
- BIDICT_COVERAGE_ENABLE=1 - BIDICT_COVERAGE_ENABLE=1
@ -41,8 +40,10 @@ install:
fi fi
"$PYENV" install --skip-existing "$PYENV_PYTHON_VER" "$PYENV" install --skip-existing "$PYENV_PYTHON_VER"
export PYTHON="$PYENV_ROOT/versions/$PYENV_PYTHON_VER/bin/python" export PYTHON="$PYENV_ROOT/versions/$PYENV_PYTHON_VER/bin/python"
$PYTHON -m ensurepip --upgrade
$PYTHON -m pip install --upgrade virtualenv
export VENV="$HOME/virtualenvs/$PYENV_PYTHON_VER" export VENV="$HOME/virtualenvs/$PYENV_PYTHON_VER"
virtualenv --python="$PYTHON" "$VENV" $PYTHON -m virtualenv --python="$PYTHON" "$VENV"
source "$VENV/bin/activate" source "$VENV/bin/activate"
fi fi
- travis_retry pip install -e .[test] - travis_retry pip install -e .[test]