Skip to content

Commit 81306a7

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
sudo: false
22

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

95
env:
106
- PYTHON=2.7 PANDAS=0.19.2 COVERAGE='false' LINT='true'
@@ -17,6 +13,10 @@ 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 $PYTHON
19+
- pyenv global system $PYTHON
2020
- REQ="ci/requirements-${PYTHON}-${PANDAS}" ;
2121
if [ -f "$REQ.pip" ]; then
2222
pip install --upgrade nox-automation ;

0 commit comments

Comments
 (0)