From bda75c3142d969e2a52301a1eaead0cc05ec2c13 Mon Sep 17 00:00:00 2001 From: William Langford Date: Tue, 22 Oct 2019 13:14:33 -0400 Subject: Ensure travis has a python version we expect --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3