travis: move configure step to the prepare phase

The main command is more strict in that it has to be a single command.
This commit is contained in:
Mike Frysinger 2016-06-24 04:40:03 -04:00
parent 1600b6054e
commit af8840d910

View file

@ -32,8 +32,8 @@ coverity_scan() {
export COVERITY_SCAN_PROJECT_NAME="${TRAVIS_REPO_SLUG}" export COVERITY_SCAN_PROJECT_NAME="${TRAVIS_REPO_SLUG}"
export COVERITY_SCAN_NOTIFICATION_EMAIL="google-breakpad-dev@googlegroups.com" export COVERITY_SCAN_NOTIFICATION_EMAIL="google-breakpad-dev@googlegroups.com"
export COVERITY_SCAN_BUILD_COMMAND="./configure && make -j${JOBS}" export COVERITY_SCAN_BUILD_COMMAND="make -j${JOBS}"
export COVERITY_SCAN_BUILD_COMMAND_PREPEND="git clean -q -x -d -f; git checkout -f" export COVERITY_SCAN_BUILD_COMMAND_PREPEND="git clean -q -x -d -f; git checkout -f; ./configure"
export COVERITY_SCAN_BRANCH_PATTERN="master" export COVERITY_SCAN_BRANCH_PATTERN="master"
curl -s "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || : curl -s "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || :