Skip to content

Commit

Permalink
update travis to use python 3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jab committed Mar 25, 2017
1 parent 4a8e940 commit 8c4e6b3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ matrix:
- python: "3.4"
env:
# 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
- python: "3.5"
env:
- PYENV_PYTHON_VER=3.5.3
- python: "3.6"
env:
# Travis has 3.6.0 installed already -> no need to use pyenv's
#- PYENV_PYTHON_VER=3.6.0
- PYENV_PYTHON_VER=3.6.1
# Only generate coverage report on the job for latest Python 3
- BIDICT_COVERAGE_ENABLE=1

Expand All @@ -41,8 +40,10 @@ install:
fi
"$PYENV" install --skip-existing "$PYENV_PYTHON_VER"
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"
virtualenv --python="$PYTHON" "$VENV"
$PYTHON -m virtualenv --python="$PYTHON" "$VENV"
source "$VENV/bin/activate"
fi
- travis_retry pip install -e .[test]
Expand Down

0 comments on commit 8c4e6b3

Please sign in to comment.