X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c1cab7f24de7c8478b19772a35db38cd8c003aa5..b84501682d66c13a30f3861055e2318d12d2ca60:/.travis.yml?ds=sidebyside diff --git a/.travis.yml b/.travis.yml index c1da36a985..31530274ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ # apt-get libns3-dev ns3 # # -sudo: required +#sudo: required dist: trusty language: cpp compiler: @@ -43,11 +43,12 @@ addons: # - cd .. # - ls -lR $TRAVIS_BUILD_DIR/LuaInstall -# Still need sudo for update-alternatives script: + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi - cmake -Denable_documentation=OFF -Denable_coverage=OFF -Denable_java=ON -Denable_model-checking=OFF -Denable_lua=OFF -Denable_compile_optimizations=OFF -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_compile_warnings=ON . - - ./tools/internal/travis-sonarqube.sh make VERBOSE=1 # run make in the sonar wrapper - - ctest --output-on-failure --timeout 100 + # run make in the sonar wrapper && run the tests only if the build suceeded + - ./tools/internal/travis-sonarqube.sh make VERBOSE=1 && ctest --output-on-failure --timeout 100 notifications: recipients: - martin.quinson@ens-rennes.fr