Skip to content

Commit 2ec9559

Browse files
committed
TST: add global pyenv so binaries appear with right aliases.
1 parent 796abdc commit 2ec9559

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.travis.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
sudo: false
22

33
language: python
4-
python:
5-
- "2.7"
6-
- "3.5"
7-
- "3.6"
84

95
env:
10-
- PYTHON=2.7 PANDAS=0.19.2 COVERAGE='false' LINT='true'
11-
- PYTHON=3.5 PANDAS=0.18.1 COVERAGE='true' LINT='false'
12-
- PYTHON=3.6 PANDAS=0.20.1 COVERAGE='false' LINT='false'
13-
- PYTHON=3.6 PANDAS=MASTER COVERAGE='false' LINT='true'
6+
- PYTHON=2.7 PANDAS=0.19.2 COVERAGE='false' LINT='true' PYENV_VERSION=2.7.14
7+
- PYTHON=3.5 PANDAS=0.18.1 COVERAGE='true' LINT='false' PYENV_VERSION=3.5.4
8+
- PYTHON=3.6 PANDAS=0.20.1 COVERAGE='false' LINT='false' PYENV_VERSION=3.6.4
9+
- PYTHON=3.6 PANDAS=MASTER COVERAGE='false' LINT='true' PYENV_VERSION=3.6.4
1410

1511
before_install:
1612
- echo "before_install"
1713
- source ci/travis_process_gbq_encryption.sh
1814

1915
install:
16+
# work around https://github.com/travis-ci/travis-ci/issues/8363
17+
# https://github.com/pre-commit/pre-commit/commit/e3ab8902692e896da9ded42bd4d76ea4e1de359d
18+
- pyenv install $PYENV_VERSION
19+
- pyenv global system $PYENV_VERSION
2020
- REQ="ci/requirements-${PYTHON}-${PANDAS}" ;
2121
if [ -f "$REQ.pip" ]; then
2222
pip install --upgrade nox-automation ;

0 commit comments

Comments
 (0)