mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Ensure travis has a python version we expect
This commit is contained in:
William Langford
committed by
William Langford
parent
9b51a0852a
commit
bda75c3142
@ -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
|
||||
|
Reference in New Issue
Block a user