Skip to content

Commit bda75c3

Browse files
committed
Ensure travis has a python version we expect
1 parent 9b51a08 commit bda75c3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ jobs:
2828

2929
before_install:
3030
- uname -s
31+
- pyenv install -s 3.6.7
3132
- rm src/{lexer,parser}.{c,h}
3233
- sed -i.bak '/^AM_INIT_AUTOMAKE(\[-Wno-portability 1\.14\])$/s/14/11/' modules/oniguruma/configure.ac
3334

3435
install:
35-
- pyenv global 3.6
36+
- pyenv global 3.6.7
3637
- pip3 install pipenv
3738
- pushd docs && pipenv sync && popd
3839
- wget http://ftp.debian.org/debian/pool/main/b/bison/bison_3.0.2.dfsg-2_amd64.deb
@@ -105,10 +106,13 @@ jobs:
105106
- uname -s
106107
- brew update
107108
- brew install flex bison
109+
- brew upgrade pyenv
110+
- pyenv install -s 3.6.7
108111
- rm src/{lexer,parser}.{c,h}
109112
- sed -i.bak '/^AM_INIT_AUTOMAKE(\[-Wno-portability 1\.14\])$/s/14/11/' modules/oniguruma/configure.ac
110113

111114
install:
115+
- pyenv global 3.6.7
112116
- pip3 install pipenv
113117
- pushd docs && pipenv sync && popd
114118
- if [ -n "$COVERAGE" ]; then pip install --user cpp-coveralls; fi

0 commit comments

Comments
 (0)