Modify .travis.yml to enable Travis.

Fix the master git repo name in Github, also the one in git-version-gen.cmd.
Display Shell Export List to help debugging our Travis Build.
This commit is contained in:
luxsie
2015-04-09 02:02:54 +08:00
parent 952098c00f
commit da85fba015
3 changed files with 13 additions and 4 deletions
+10 -1
View File
@@ -29,6 +29,8 @@ before_install:
aria2c -x 16 http://www.cmake.org/files/v3.0/cmake-3.0.0-Linux-i386.sh &&
chmod a+x cmake-3.0.0-Linux-i386.sh &&
sudo ./cmake-3.0.0-Linux-i386.sh --skip-license --prefix=/usr;
# Add coverall for C++ so coverity could be triggered. Even it should be --coverage and gcov.
- sudo pip install cpp-coveralls
before_script:
- git submodule update --init asmjit ffmpeg llvm
@@ -51,5 +53,12 @@ addons:
build_command: "make -j 4"
branch_pattern: coverity_scan
# These modifys are from https://github.com/devernay/cminpack/blob/master/.travis.yml
# It passed but when coverall it failed.
script:
- if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make -j 4; fi
# Add a command to show all the variables now. maybe only useful for debugging travis.
- echo "--Shell Export Lists START--" ; export -p; echo "--Shell Export Lists STOP--"
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make -j 4; fi
after_success:
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then coveralls --extension .c --extension .cpp --extension .h; fi