Configure travis build to use python
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by William Langford · committed by Nico Williams · parent 53a3f47 · Browse files · 1 file·+12 added−8 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+12 added−8 removed
- other:+12 added−8 removed
Provenance
- Commit
15be4e7- Tree
114c2f6- Author
William Langford <wlangfor@gmail.com>- Committer
Nico Williams <nico@cryptonector.com>- Parent
53a3f47
1 file changed+12 added−8 removed
modified:.travis.yml+12 added-8 removed
15 unmodified lines16 - &test-ubuntu17 stage: test18 os: linux19 compiler: gcc20+ python: 3.621 22 addons:23 apt:24 packages:2 unmodified lines27 - automake28 29 before_install:30 - uname -s30- - rvm install ruby-1.9.3-p55131- - rvm use 1.9.331 - rm src/{lexer,parser}.{c,h}32 - sed -i.bak '/^AM_INIT_AUTOMAKE(\[-Wno-portability 1\.14\])$/s/14/11/' modules/oniguruma/configure.ac33 34 install:36- - bundle install --gemfile=docs/Gemfile35+ - pyenv global 3.636+ - pip3 install pipenv37+ - pushd docs && pipenv sync && popd38 - wget http://ftp.debian.org/debian/pool/main/b/bison/bison_3.0.2.dfsg-2_amd64.deb39 - ar p bison_3.0.2.dfsg-2_amd64.deb data.tar.xz | tar xJ40 - if [ -n "$COVERAGE" ]; then pip install --user cpp-coveralls; fi41 62 unmodified lines104 before_install:105 - uname -s106 - brew update107 - brew install flex bison107- - rvm install ruby-1.9.3-p551108- - rvm use 1.9.3109- - gem install bundler108 - rm src/{lexer,parser}.{c,h}109 - sed -i.bak '/^AM_INIT_AUTOMAKE(\[-Wno-portability 1\.14\])$/s/14/11/' modules/oniguruma/configure.ac110 111 install:114- - bundle install --gemfile=docs/Gemfile112+ - pip3 install pipenv113+ - pushd docs && pipenv sync && popd114 - if [ -n "$COVERAGE" ]; then pip install --user cpp-coveralls; fi115 116 117 # Build with clang and run tests on macOS.16 unmodified lines134 - alpine() { /alpine/enter-chroot -u "$USER" "$@"; }135 136 install:137 - sudo sh alpine-chroot-install -b v3.7 -a "$ARCH"139- -p 'build-base automake autoconf bison libtool oniguruma-dev'138+ -p 'build-base automake autoconf bison git libtool oniguruma-dev python3 python3-dev libxml2-dev libxslt-dev'139+ - /alpine/enter-chroot pip3 install pipenv140+ - alpine sh -c 'cd docs && pipenv sync'141 142 before_script:143 - autoreconf -if144 1 unmodified line146 - alpine ./configure --disable-docs147 - alpine make148 - alpine make check149 150+ after_failure:151+ - cat test-suite.log152+ - cat tests/*.log153 154 # Build release binary statically linked with musl libc on Alpine Linux155 # (inside chroot). If building a tagged commit, then deploy release156 # tarball to GitHub Releases.50 unmodified lines