Skip to content

Commit

Permalink
Ensure travis has a python version we expect
Browse files Browse the repository at this point in the history
  • Loading branch information
wtlangford committed Oct 24, 2019
1 parent 9b51a08 commit bda75c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bda75c3

Please sign in to comment.