Fixing Travis build
This commit is contained in:
parent
a1375b6718
commit
306c0abc8f
@ -5,8 +5,7 @@ jdk:
|
|||||||
install: "/bin/true"
|
install: "/bin/true"
|
||||||
script:
|
script:
|
||||||
- mvn clean install
|
- mvn clean install
|
||||||
- git clone https://github.com/WebGoat/WebGoat-Lessons.git
|
- git clone -b develop https://github.com/WebGoat/WebGoat-Lessons.git
|
||||||
- git checkout develop
|
|
||||||
- mvn -file ./WebGoat-Lessons/pom.xml clean package
|
- mvn -file ./WebGoat-Lessons/pom.xml clean package
|
||||||
- cp -fa ./WebGoat-Lessons/target/plugins/*.jar ./webgoat-container/src/main/webapp/plugin_lessons/
|
- 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
|
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then mvn "-Dbuild.number=$TRAVIS_BUILD_NUMBER" -Prun-integration-tests clean install; else mvn clean install; fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user