Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tesh: actually pick the path to python3 that we have
[simgrid.git] / .travis.yml
index c1da36a..382b86c 100644 (file)
@@ -7,6 +7,7 @@
 #
 sudo: required
 dist: trusty
+python: "3.4"
 language: cpp
 compiler:
    - gcc
@@ -46,8 +47,8 @@ addons:
 # Still need sudo for update-alternatives
 script:
    - 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