From c2bb18622d06318324cd7eaf717c920c58cc0047 Mon Sep 17 00:00:00 2001 From: Lennart Braun Date: Mon, 29 Jul 2019 18:12:42 +0200 Subject: [PATCH] Update Travis to Ubuntu Bionic Use explicit apt-get commands since the APT addon is currently not working. Also, update CMake version. --- .travis.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16d93353..6092d7a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,15 @@ language: cpp compiler: g++ -dist: xenial - -addons: - apt: - sources: - - sourceline: 'ppa:ubuntu-toolchain-r/test' - - sourceline: 'ppa:mhier/libboost-latest' - packages: - - g++-8 - - libboost1.67-dev - - libgmp-dev - - libssl-dev +dist: bionic before_install: + - sudo add-apt-repository -y ppa:mhier/libboost-latest + - sudo apt-get update + - sudo apt-get install -y g++-8 libboost1.70-dev libgmp-dev libssl-dev # Install a recent CMake - mkdir $HOME/prefix - export PATH="$HOME/prefix/bin:$PATH" - - wget https://cmake.org/files/v3.14/cmake-3.14.0-Linux-x86_64.sh -O cmake_install.sh + - wget https://cmake.org/files/v3.15/cmake-3.15.1-Linux-x86_64.sh -O cmake_install.sh - chmod +x cmake_install.sh - ./cmake_install.sh --prefix=$HOME/prefix --exclude-subdir --skip-license