From 821517f95dd25fca9458b4854d75af93c2d5e573 Mon Sep 17 00:00:00 2001 From: Thomas Schaub Date: Wed, 20 Mar 2019 22:29:14 +0100 Subject: [PATCH] Install g++-7 with clang-7 Was g++-6, but the standard lib was too old --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd93971e5..d3225116e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -284,7 +284,7 @@ matrix: addons: apt: sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-7'] - packages: ['g++-6', 'clang-7', 'ninja-build'] + packages: ['g++-7', 'clang-7', 'ninja-build'] - os: linux compiler: clang @@ -294,7 +294,7 @@ matrix: addons: apt: sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-7'] - packages: ['g++-6', 'clang-7', 'ninja-build'] + packages: ['g++-7', 'clang-7', 'ninja-build'] ################ # build script # @@ -325,10 +325,10 @@ script: - ctest -C Release -V -j - cd .. - # check if homebrew works (only checks develop branch) - - if [ `which brew` ]; then - brew update ; - brew tap nlohmann/json ; - brew install nlohmann_json --HEAD ; - brew test nlohmann_json ; + # check if homebrew works (only checks develop branch) + - if [ `which brew` ]; then + brew update ; + brew tap nlohmann/json ; + brew install nlohmann_json --HEAD ; + brew test nlohmann_json ; fi