travis: Move TSAN to last stage and allow failure

TSAN build has been much less reliable lately, so it shouldn't hold up
the other tests.
This commit is contained in:
James McCoy 2017-08-13 10:01:39 -04:00
parent 1f9c139fd3
commit a2947a46a1
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -57,9 +57,6 @@ jobs:
env: > env: >
CLANG_SANITIZER=ASAN_UBSAN CLANG_SANITIZER=ASAN_UBSAN
CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON" CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON"
- os: linux
compiler: clang-4.0
env: CLANG_SANITIZER=TSAN
- stage: normal builds - stage: normal builds
os: linux os: linux
compiler: gcc-5 compiler: gcc-5
@ -79,12 +76,16 @@ jobs:
- stage: lint - stage: lint
os: linux os: linux
env: CI_TARGET=lint env: CI_TARGET=lint
- stage: coverage - stage: Flaky builds
os: linux os: linux
compiler: gcc-5 compiler: gcc-5
env: GCOV=gcov-5 CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON" env: GCOV=gcov-5 CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON"
- os: linux
compiler: clang-4.0
env: CLANG_SANITIZER=TSAN
allow_failures: allow_failures:
- env: GCOV=gcov-5 CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON" - env: GCOV=gcov-5 CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON"
- env: CLANG_SANITIZER=TSAN
fast_finish: true fast_finish: true
before_install: ci/before_install.sh before_install: ci/before_install.sh