.travis.yml: install Boost 1.67 from a PPA

Apparently, Travis-CI will never upgrade its ancient Ubuntu Trusty,
so I have to get Boost from somewhere else.

Thanks to Martin Hierholzer for his PPA.
This commit is contained in:
Max Kellermann 2018-09-02 17:28:01 +02:00
parent 94694e0f33
commit 53170ca2f2

View File

@ -8,10 +8,11 @@ matrix:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- sourceline: 'ppa:mhier/libboost-latest'
packages: packages:
- g++-6 - g++-6
- libcppunit-dev - libcppunit-dev
- libboost-dev - boost1.67
env: env:
- MATRIX_EVAL="export CC=gcc-6 CXX=g++-6" - MATRIX_EVAL="export CC=gcc-6 CXX=g++-6"
@ -21,10 +22,11 @@ matrix:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- sourceline: 'ppa:mhier/libboost-latest'
packages: packages:
- g++-8 - g++-8
- libcppunit-dev - libcppunit-dev
- libboost-dev - boost1.67
env: env:
- MATRIX_EVAL="export CC=gcc-8 CXX=g++-8" - MATRIX_EVAL="export CC=gcc-8 CXX=g++-8"