From: Martin Quinson Date: Tue, 6 Mar 2018 18:58:06 +0000 (+0100) Subject: travis: the new way of installing python on travis X-Git-Tag: v3.19~151 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6da7c0b0277e7e93d539d06acd8e249cd4ff29e9 travis: the new way of installing python on travis --- diff --git a/.travis.yml b/.travis.yml index 236576a94a..e1288a1172 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,7 +48,7 @@ addons: script: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; 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