added gcc 10 to build matrix
diff --git a/.travis.yml b/.travis.yml
index a56b00b..a8a4797 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -127,6 +127,15 @@
packages: ["g++-9", "valgrind", "libc6-dbg", "linux-libc-dev"]
sources: *apt_sources
+ # GCC 10
+ - env: COMPILER=g++-10 HAS_ASAN=true HAS_UBSAN=true HAS_TSAN=true SANITIZER_CXX_FLAGS="-fuse-ld=gold -static-libasan" TSAN_CXX_FLAGS="-ltsan"
+ compiler: gcc
+ sudo: required # see this issue for more details: https://github.com/travis-ci/travis-ci/issues/9033
+ addons: &gcc10
+ apt:
+ packages: ["g++-10", "valgrind", "libc6-dbg", "linux-libc-dev"]
+ sources: *apt_sources
+
# Clang 3.5
- env: COMPILER=clang++-3.5 HAS_ASAN=true HAS_UBSAN=true # no HAS_TSAN - see errors: https://travis-ci.org/onqtam/doctest/builds/417926743
addons: &clang35