From c68d1926ca6073e727ee9135e6480b27ddb43eb2 Mon Sep 17 00:00:00 2001 From: Pavel Belikov Date: Fri, 4 May 2018 19:37:04 +0300 Subject: Add Travis CI builds for g++-7, g++-8 --- .travis.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.travis.yml b/.travis.yml index efba6f6..92e61a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,6 +44,34 @@ matrix: packages: ['g++-6'] env: COMPILER=g++-6 CONFIG=Debug FLAGS='-fsanitize=address,undefined -fno-sanitize-recover=all -fuse-ld=gold' + - os: linux + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-7'] + env: COMPILER=g++-7 CONFIG=Release + + - os: linux + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-7'] + env: COMPILER=g++-7 CONFIG=Debug FLAGS='-fsanitize=address,undefined -fno-sanitize-recover=all -fuse-ld=gold' + + - os: linux + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-8'] + env: COMPILER=g++-8 CONFIG=Release + + - os: linux + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-8'] + env: COMPILER=g++-8 CONFIG=Debug FLAGS='-fsanitize=address,undefined -fno-sanitize-recover=all -fuse-ld=gold' + - os: linux addons: apt: -- cgit v1.2.1 From 285168df060e0bb09c17821e8311d6aa6fb12451 Mon Sep 17 00:00:00 2001 From: Pavel Belikov Date: Fri, 4 May 2018 19:50:28 +0300 Subject: Fix gcc 8 warning --- args.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/args.hxx b/args.hxx index 655718f..62bbfb3 100644 --- a/args.hxx +++ b/args.hxx @@ -1761,7 +1761,7 @@ namespace args { parserCoroutine(coro.Parser()); } - catch (args::SubparserError) + catch (args::SubparserError&) { } #else -- cgit v1.2.1 From ffcce180c0b9f58f92210ffa1fcebd41b53cac9b Mon Sep 17 00:00:00 2001 From: Pavel Belikov Date: Fri, 4 May 2018 19:51:28 +0300 Subject: Add workaround for LeakSanitizer in Travis CI --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 92e61a1..405ddac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,6 +56,7 @@ matrix: apt: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-7'] + sudo: required env: COMPILER=g++-7 CONFIG=Debug FLAGS='-fsanitize=address,undefined -fno-sanitize-recover=all -fuse-ld=gold' - os: linux @@ -70,6 +71,7 @@ matrix: apt: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-8'] + sudo: required env: COMPILER=g++-8 CONFIG=Debug FLAGS='-fsanitize=address,undefined -fno-sanitize-recover=all -fuse-ld=gold' - os: linux -- cgit v1.2.1