Travis: update to xenial
MODIFY
.travis.yml
.travis.yml
language: cpp
os: linux
-dist: trusty
+dist: xenial
sudo: required
cache:
@@ -89,7 +89,7 @@ matrix:
apt:
sources:
- *default_sources
- - llvm-toolchain-trusty-7
+ - llvm-toolchain-xenial-7
packages:
- *default_packages
- clang-7
@@ -97,3 +97,17 @@ matrix:
- env: CMAKE_CXX_COMPILER=clang++-7 CMAKE_BUILD_TYPE=Release
addons: *clang7
+
+ - env: CMAKE_CXX_COMPILER=clang++-8 CMAKE_BUILD_TYPE=Debug CMAKE_CXX_FLAGS=-fsanitize=address,undefined
+ addons: &clang8
+ apt:
+ sources:
+ - *default_sources
+ - llvm-toolchain-xenial-8
+ packages:
+ - *default_packages
+ - clang-8
+ - g++-8
+
+ - env: CMAKE_CXX_COMPILER=clang++-8 CMAKE_BUILD_TYPE=Release
+ addons: *clang8

Travis: update to xenial