diff options
-rw-r--r-- | .travis.yml | 30 | ||||
-rw-r--r-- | args.hxx | 2 |
2 files changed, 31 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index efba6f6..405ddac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,36 @@ matrix: - 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'] + sudo: required + 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'] + sudo: required + env: COMPILER=g++-8 CONFIG=Debug FLAGS='-fsanitize=address,undefined -fno-sanitize-recover=all -fuse-ld=gold' + + - os: linux + addons: + apt: sources: ['llvm-toolchain-precise-3.5', 'ubuntu-toolchain-r-test'] packages: ['clang++-3.5'] env: COMPILER=clang++-3.5 CONFIG=Release @@ -1761,7 +1761,7 @@ namespace args { parserCoroutine(coro.Parser()); } - catch (args::SubparserError) + catch (args::SubparserError&) { } #else |