Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[travis] There are only 2 cores available.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 10 Jan 2019 13:48:54 +0000 (14:48 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 10 Jan 2019 13:48:54 +0000 (14:48 +0100)
.travis.yml
tools/internal/travis-sonarqube.sh

index c1645ae..5757511 100644 (file)
@@ -50,8 +50,8 @@ script:
    - 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 . || (echo XXX CMakeOutput.log; cat /home/travis/build/simgrid/simgrid/CMakeFiles/CMakeOutput.log; echo XXX CMakeError.log;cat /home/travis/build/simgrid/simgrid/CMakeFiles/CMakeError.log; exit 1) ; fi
    # run make and ctest in the sonar wrapper on master/linux; run it directly in PR or OSX
-   # - if [[ -e Makefile ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then ./tools/internal/travis-sonarqube.sh make -j4 VERBOSE=1; else make -j4 VERBOSE=1 && ctest -j4 --output-on-failure ; fi
-   - make -j4 VERBOSE=1 && ctest -j4 --output-on-failure
+   # - if [[ -e Makefile ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then ./tools/internal/travis-sonarqube.sh make -j2 VERBOSE=1; else make -j2 VERBOSE=1 && ctest -j2 --output-on-failure ; fi
+   - make -j2 VERBOSE=1 && ctest -j2 --output-on-failure
 notifications:
   recipients:
     - martin.quinson@ens-rennes.fr
index 98411ef..94b05c8 100755 (executable)
@@ -34,7 +34,7 @@ installBuildWrapper
 # Run ctest before sonar to gather coverage some information
 # EDIT: Don't run the tests on travis because they take too much time.
 #set +e
-#ctest -j4 --output-on-failure
+#ctest -j2 --output-on-failure
 #outcome=$?
 #set -e
 outcome=0