Sfoglia il codice sorgente

Update .travis.yml

paulsapps 11 anni fa
parent
commit
807f6aaeef
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      .travis.yml

+ 3 - 0
.travis.yml

@@ -71,6 +71,9 @@ script:
 # Fix dylib paths on OSX to be relative to the main binary
 # Fix dylib paths on OSX to be relative to the main binary
 - if [[ "${COVERITY_SCAN_BRANCH}" != 1 && "$TRAVIS_OS_NAME" == "osx" ]]; then ../CIBuild/osx/fix_lib_paths.sh ./bin_release; fi
 - if [[ "${COVERITY_SCAN_BRANCH}" != 1 && "$TRAVIS_OS_NAME" == "osx" ]]; then ../CIBuild/osx/fix_lib_paths.sh ./bin_release; fi
 
 
+# Run unit tests
+- if [[ "${COVERITY_SCAN_BRANCH}" != 1 ]]; then make all test -j2; fi
+
 # Generate installers
 # Generate installers
 - if [[ "${COVERITY_SCAN_BRANCH}" != 1 && "${COVERAGE}" != 1 ]]; then cpack -C Release; fi
 - if [[ "${COVERITY_SCAN_BRANCH}" != 1 && "${COVERAGE}" != 1 ]]; then cpack -C Release; fi