From 306c0abc8f33345dc004fd2f698b9c00fb2e4330 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Thu, 15 Sep 2016 23:30:31 +0200 Subject: [PATCH] Fixing Travis build --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d94594b01..36d69f616 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,7 @@ jdk: install: "/bin/true" script: - mvn clean install - - git clone https://github.com/WebGoat/WebGoat-Lessons.git - - git checkout develop + - git clone -b develop https://github.com/WebGoat/WebGoat-Lessons.git - mvn -file ./WebGoat-Lessons/pom.xml clean package - cp -fa ./WebGoat-Lessons/target/plugins/*.jar ./webgoat-container/src/main/webapp/plugin_lessons/ - if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then mvn "-Dbuild.number=$TRAVIS_BUILD_NUMBER" -Prun-integration-tests clean install; else mvn clean install; fi