summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Langford <wlangford@digitalocean.com>2019-10-22 13:14:33 -0400
committerWilliam Langford <wlangfor@gmail.com>2019-10-23 21:31:05 -0400
commitbda75c3142d969e2a52301a1eaead0cc05ec2c13 (patch)
tree757fa76c9eda123e4b9d6b4de3e9685a472ba845
parent9b51a0852a0f91fbc987f5f2b302ff65e22f6399 (diff)
Ensure travis has a python version we expect
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7510a6c1..a1f7f262 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,11 +28,12 @@ jobs:
before_install:
- uname -s
+ - pyenv install -s 3.6.7
- rm src/{lexer,parser}.{c,h}
- sed -i.bak '/^AM_INIT_AUTOMAKE(\[-Wno-portability 1\.14\])$/s/14/11/' modules/oniguruma/configure.ac
install:
- - pyenv global 3.6
+ - pyenv global 3.6.7
- pip3 install pipenv
- pushd docs && pipenv sync && popd
- wget http://ftp.debian.org/debian/pool/main/b/bison/bison_3.0.2.dfsg-2_amd64.deb
@@ -105,10 +106,13 @@ jobs:
- uname -s
- brew update
- brew install flex bison
+ - brew upgrade pyenv
+ - pyenv install -s 3.6.7
- rm src/{lexer,parser}.{c,h}
- sed -i.bak '/^AM_INIT_AUTOMAKE(\[-Wno-portability 1\.14\])$/s/14/11/' modules/oniguruma/configure.ac
install:
+ - pyenv global 3.6.7
- pip3 install pipenv
- pushd docs && pipenv sync && popd
- if [ -n "$COVERAGE" ]; then pip install --user cpp-coveralls; fi