diff --git a/src/secp256k1/.travis.yml b/src/secp256k1/.travis.yml --- a/src/secp256k1/.travis.yml +++ b/src/secp256k1/.travis.yml @@ -19,13 +19,13 @@ homebrew: packages: - cmake - - gcc@9 - gmp - ninja - valgrind update: true install: - if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${TRAVIS_CPU_ARCH}" = "amd64" ]; then ./travis/install_cmake.sh; fi + - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install gcc@9; fi cache: directories: - /opt/cmake diff --git a/src/secp256k1/travis/build_cmake.sh b/src/secp256k1/travis/build_cmake.sh --- a/src/secp256k1/travis/build_cmake.sh +++ b/src/secp256k1/travis/build_cmake.sh @@ -51,12 +51,4 @@ ninja $CMAKE_TARGET -if [ "$RUN_VALGRIND" = "yes" ]; then - # the `--error-exitcode` is required to make the test fail if valgrind found - # errors, otherwise it'll return 0 - # (http://valgrind.org/docs/manual/manual-core.html) - valgrind --error-exitcode=42 ./secp256k1-tests 16 - valgrind --error-exitcode=42 ./secp256k1-exhaustive_tests -fi - popd