From 567e4f31b447ffee449f296ee93dda13f8c996a4 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 28 May 2017 02:42:40 -0400 Subject: [PATCH] Update travis.yml for Clang, GCC and OS X Thanks to Hiro Asari on the Travis GitHub for helping with the last of the issues --- .travis.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7853403a..73036cf3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,22 +27,23 @@ env: - BUILD_MODE="asan" - BUILD_MODE="ubsan" - BUILD_MODE="codecov" + matrix: exclude: # Skip GCC on OS X entirely - os: osx compiler: gcc - - # The sanitizer builds run slowly under Clang. CodeCov crashes under Clang. - - compiler: clang - env: BUILD_MODE="asan" - - compiler: clang - env: BUILD_MODE="ubsan" + # CodeCov crashes under Clang - compiler: clang env: BUILD_MODE="codecov" + allow_failures: + # Ignore problems with old toolchains + - env: BUILD_MODE="ubsan" + - env: BUILD_MODE="asan" + script: - - make "$BUILD_MODE" && ./cryptest.exe v && ./cryptest.exe tv all + - travis_wait make "$BUILD_MODE" && ./cryptest.exe v && ./cryptest.exe tv all after_success: - if [[ ( ("$BUILD_MODE" = "coverage") && ("$CC" = "gcc") ) ]]; then CODECOV_TOKEN="5c7bc59c-e95f-4594-82c3-33e7a1942592" bash <(curl -s https://codecov.io/bash); fi;