From 37b4442d7f2913f56c0ccf4266996194d013b33a Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Thu, 20 Jun 2019 20:00:56 +0900 Subject: [PATCH] ci: upgrade boost on Travis Linux --- .travis.yml | 44 ++++++++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 08de4ac..4fcca8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,9 +10,10 @@ matrix: apt: sources: - ubuntu-toolchain-r-test + - sourceline: 'ppa:mhier/libboost-latest' packages: - g++-5 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: gcc @@ -21,9 +22,10 @@ matrix: apt: sources: - ubuntu-toolchain-r-test + - sourceline: 'ppa:mhier/libboost-latest' packages: - g++-6 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: gcc @@ -32,9 +34,10 @@ matrix: apt: sources: - ubuntu-toolchain-r-test + - sourceline: 'ppa:mhier/libboost-latest' packages: - g++-7 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: gcc @@ -43,9 +46,10 @@ matrix: apt: sources: - ubuntu-toolchain-r-test + - sourceline: 'ppa:mhier/libboost-latest' packages: - g++-8 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: gcc @@ -54,9 +58,10 @@ matrix: apt: sources: - ubuntu-toolchain-r-test + - sourceline: 'ppa:mhier/libboost-latest' packages: - g++-8 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: clang @@ -65,10 +70,11 @@ matrix: apt: sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.7 + - llvm-toolchain-trusty-3.7 + - sourceline: 'ppa:mhier/libboost-latest' packages: - clang-3.7 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: clang @@ -78,9 +84,10 @@ matrix: sources: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-4.0 + - sourceline: 'ppa:mhier/libboost-latest' packages: - clang-4.0 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: clang @@ -90,9 +97,10 @@ matrix: sources: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-5.0 + - sourceline: 'ppa:mhier/libboost-latest' packages: - clang-5.0 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: clang @@ -102,9 +110,10 @@ matrix: sources: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-6.0 + - sourceline: 'ppa:mhier/libboost-latest' packages: - clang-6.0 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: clang @@ -114,9 +123,10 @@ matrix: sources: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-7 + - sourceline: 'ppa:mhier/libboost-latest' packages: - clang-7 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: clang @@ -126,9 +136,10 @@ matrix: sources: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-8 + - sourceline: 'ppa:mhier/libboost-latest' packages: - clang-8 - - libboost-all-dev + - libboost - os: linux language: cpp compiler: clang @@ -138,10 +149,11 @@ matrix: sources: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-8 + - sourceline: 'ppa:mhier/libboost-latest' packages: - clang-8 - g++-8 - - libboost-all-dev + - libboost - os: osx language: cpp compiler: clang @@ -151,11 +163,11 @@ script: - | if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then mkdir -p cmake - travis_retry wget "https://cmake.org/files/v3.11/cmake-3.11.2-Linux-x86_64.tar.gz" - tar xf cmake-3.11.2-Linux-x86_64.tar.gz -C cmake --strip-components=1 + travis_retry wget "https://github.com/Kitware/CMake/releases/download/v3.14.5/cmake-3.14.5-Linux-x86_64.tar.gz" + tar xf cmake-3.14.5-Linux-x86_64.tar.gz -C cmake --strip-components=1 export PATH=${TRAVIS_BUILD_DIR}/cmake/bin:${PATH} else - brew upgrade cmake + brew upgrade cmake boost fi - cmake --version - mkdir build