diff --git a/tools/travis-ci/install.sh b/tools/travis-ci/install.sh index 0ebb3f78..b01a688a 100755 --- a/tools/travis-ci/install.sh +++ b/tools/travis-ci/install.sh @@ -35,7 +35,7 @@ if [ "${COVERITY_SCAN_BRANCH:-}" == "1" ] || [ "${OPJ_CI_ABI_CHECK:-}" == "1" ]; exit 0 fi -if [ "${OPJ_CI_ASAN:-}" == "1" ]; then +if [ "${TRAVIS_OS_NAME:-}" == "linux" ]; then # We need a new version of cmake than travis-ci provides wget --no-check-certificate -qO - https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz | tar -xz # copy to a directory that will not changed every version