From 46080822b0cbc4e20ccbcfe1a59a300d3031a75f Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 24 Oct 2018 10:21:14 +0200 Subject: [PATCH 1/1] travis: try to use the addon to install homebrew packages --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d6052247ab..96a4ba5fb2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,9 @@ addons: - libdw-dev - libevent-dev - libunwind8-dev + homebrew: + packages: + - python coverity_scan: project: name: "simgrid/simgrid" @@ -46,8 +49,6 @@ addons: # - ls -lR $TRAVIS_BUILD_DIR/LuaInstall script: - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake -Denable_model-checking=OFF -Denable_documentation=OFF -Denable_coverage=ON -Denable_java=ON -Denable_lua=OFF -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_compile_warnings=ON .; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake -Denable_model-checking=ON -Denable_documentation=OFF -Denable_coverage=ON -Denable_java=ON -Denable_lua=OFF -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=ON -Denable_compile_warnings=ON .; fi # run make and ctest in the sonar wrapper on master/linux; run it directly in PR or OSX -- 2.20.1