Fixing failing build because travis was using master branch of the lessons instead of develop

This commit is contained in:
Nanne Baars 2016-09-15 23:00:20 +02:00
parent 0225a7c501
commit 9de5340e24

View File

@ -6,6 +6,7 @@ install: "/bin/true"
script:
- mvn clean install
- git clone https://github.com/WebGoat/WebGoat-Lessons.git
- git checkout develop
- 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