diff --git a/.travis.yml b/.travis.yml index f396f23ccd4..ea02b45ddff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,6 +77,7 @@ script: # fail if generators contain tab '\t' - /bin/bash ./bin/utils/detect_tab_in_java_class.sh # run integration tests defined in maven pom.xml + - mvn clean install - mvn -q --batch-mode verify -Psamples # Below has been moved to CircleCI # docker: build generator image and push to Docker Hub diff --git a/circle.yml b/circle.yml index 1fb626bce55..f9aea77a432 100644 --- a/circle.yml +++ b/circle.yml @@ -34,13 +34,15 @@ test: override: ## test with jdk8 - java -version - - mvn -q clean verify -Psamples + - mvn clean install + - mvn -q verify -Psamples # skip the rest if previous mvn task fails - if [ $? -ne 0 ]; then exit 1; fi ## test with jdk7 - sudo update-java-alternatives -s java-1.7.0-openjdk-amd64 - java -version - - mvn -q clean verify -Psamples + - mvn clean install + - mvn -q verify -Psamples # skip the rest if previous mvn task fails - if [ $? -ne 0 ]; then exit 1; fi ## docker: build generator image and push to Docker Hub diff --git a/shippable.yml b/shippable.yml index b55496cf569..52206a7ca08 100644 --- a/shippable.yml +++ b/shippable.yml @@ -22,6 +22,7 @@ build: - mix --version # test samples defined in pom.xml - cp pom.xml.shippable pom.xml + - mvn clean install - mvn verify -P samples # generate all petstore sampless (client, servers, doc) - ./bin/run-all-petstore 2>&1 > run-all-petstore.log