File tree 3 files changed +21
-8
lines changed
3 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ script:
131
131
# WARN: Travis will timeout after 10 minutes of no stdout/stderr activity, which is problematic with mvn --quiet.
132
132
- mvn --quiet --batch-mode --show-version clean install
133
133
- mvn --quiet --batch-mode --show-version verify -Psamples
134
+ # test maven plugin
135
+ - mvn clean compile -f modules/openapi-generator-maven-plugin/examples/java-client.xml
136
+ - mvn clean compile -f modules/openapi-generator-maven-plugin/examples/multi-module/pom.xml
134
137
after_success :
135
138
# push to maven repo
136
139
- if [ $SONATYPE_USERNAME ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
Original file line number Diff line number Diff line change @@ -12,6 +12,15 @@ if [ "$NODE_INDEX" = "1" ]; then
12
12
# cp CI/pom.xml.circleci pom.xml
13
13
java -version
14
14
mvn --quiet verify -Psamples.circleci
15
+
16
+ # generate all petstore samples (client, servers, doc)
17
+ ./bin/run-all-petstore
18
+ # generate all petstore samples (openapi3)
19
+ ./bin/openapi3/run-all-petstore
20
+ # generate test scripts
21
+ ./bin/tests/run-all-test
22
+ # test all generators with fake petstore spec (2.0, 3.0)
23
+ ./bin/utils/test-fake-petstore-for-all.sh
15
24
elif [ " $NODE_INDEX " = " 2" ]; then
16
25
# run ensure-up-to-date sample script on SNAPSHOT version only
17
26
project_version=` mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version -q -DforceStdout`
Original file line number Diff line number Diff line change @@ -38,11 +38,12 @@ build:
38
38
- mix --version
39
39
# test samples defined in pom.xml
40
40
- mvn --quiet verify -P samples.shippable -Dmaven.javadoc.skip=true
41
- # generate all petstore samples (client, servers, doc)
42
- - ./bin/run-all-petstore
43
- # generate all petstore samples (openapi3)
44
- - ./bin/openapi3/run-all-petstore
45
- # generate test scripts
46
- - ./bin/tests/run-all-test
47
- # test all generators with fake petstore spec (2.0, 3.0)
48
- - ./bin/utils/test-fake-petstore-for-all.sh
41
+ # below moved to CircleCI
42
+ # # generate all petstore samples (client, servers, doc)
43
+ # - ./bin/run-all-petstore
44
+ # # generate all petstore samples (openapi3)
45
+ # - ./bin/openapi3/run-all-petstore
46
+ # # generate test scripts
47
+ # - ./bin/tests/run-all-test
48
+ # # test all generators with fake petstore spec (2.0, 3.0)
49
+ # - ./bin/utils/test-fake-petstore-for-all.sh
You can’t perform that action at this time.
0 commit comments