From 13b63651daecfe73821d7864d60c2f9b0c019a43 Mon Sep 17 00:00:00 2001 From: Doug Morato Date: Fri, 28 Aug 2015 09:35:34 -0400 Subject: [PATCH] Replacing Maven package/verify goals by maven install, which runs all of them --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c808ff014..f5d7eab28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,11 @@ jdk: - oraclejdk8 install: "/bin/true" script: - - mvn clean compile install + - mvn clean install - git clone https://github.com/WebGoat/WebGoat-Lessons.git - mvn -file ./WebGoat-Lessons/pom.xml package - cp -fa ./WebGoat-Lessons/target/plugins/*.jar ./webgoat-container/src/main/webapp/plugin_lessons/ - - if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then mvn -Prun-integration-tests package verify install; else mvn package install; fi + - if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then mvn -Prun-integration-tests clean install; else mvn clean install; fi before_deploy: - export WEBGOAT_ARTIFACT_VERSION=$(grep "" $HOME/build/$TRAVIS_REPO_SLUG/pom.xml | cut -d ">" -f 2 | cut -d "<" -f 1) - export WEBGOAT_JAR_FILE=$HOME/build/$TRAVIS_REPO_SLUG/webgoat-container/target/webgoat-container-$WEBGOAT_ARTIFACT_VERSION.jar