forked from loafle/openapi-generator-original
Reduce CI logging (#119)
This commit is contained in:
parent
f22224574b
commit
866dc03f4f
@ -90,8 +90,8 @@ script:
|
|||||||
# fail if generators contain tab '\t'
|
# fail if generators contain tab '\t'
|
||||||
- /bin/bash ./bin/utils/detect_tab_in_java_class.sh
|
- /bin/bash ./bin/utils/detect_tab_in_java_class.sh
|
||||||
# run integration tests defined in maven pom.xml
|
# run integration tests defined in maven pom.xml
|
||||||
- mvn clean install
|
- mvn --quiet clean install
|
||||||
- mvn -q --batch-mode verify -Psamples
|
- mvn --quiet verify -Psamples
|
||||||
after_success:
|
after_success:
|
||||||
# push a snapshot version to maven repo
|
# push a snapshot version to maven repo
|
||||||
- if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_BRANCH" = "master" ]; then
|
- if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_BRANCH" = "master" ]; then
|
||||||
|
@ -32,7 +32,7 @@ build_script:
|
|||||||
- nuget restore samples\client\petstore\csharp\OpenAPIClientNetStandard\Org.OpenAPITools.sln
|
- nuget restore samples\client\petstore\csharp\OpenAPIClientNetStandard\Org.OpenAPITools.sln
|
||||||
- msbuild samples\client\petstore\csharp\OpenAPIClientNetStandard\Org.OpenAPITools.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
- msbuild samples\client\petstore\csharp\OpenAPIClientNetStandard\Org.OpenAPITools.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||||
# install openapi-generator locally
|
# install openapi-generator locally
|
||||||
- mvn clean install --batch-mode
|
- mvn clean install --quiet
|
||||||
test_script:
|
test_script:
|
||||||
# test c# API client
|
# test c# API client
|
||||||
- nunit-console samples\client\petstore\csharp\OpenAPIClient\src\Org.OpenAPITools.Test\bin\Debug\Org.OpenAPITools.Test.dll --result=myresults.xml;format=AppVeyor
|
- nunit-console samples\client\petstore\csharp\OpenAPIClient\src\Org.OpenAPITools.Test\bin\Debug\Org.OpenAPITools.Test.dll --result=myresults.xml;format=AppVeyor
|
||||||
|
@ -35,16 +35,16 @@ test:
|
|||||||
override:
|
override:
|
||||||
## test with jdk8
|
## test with jdk8
|
||||||
- java -version
|
- java -version
|
||||||
- mvn clean install
|
- mvn --quiet clean install
|
||||||
- mvn -q verify -Psamples
|
- mvn --quiet verify -Psamples
|
||||||
# skip the rest if previous mvn task fails
|
# skip the rest if previous mvn task fails
|
||||||
- if [ $? -ne 0 ]; then exit 1; fi
|
- if [ $? -ne 0 ]; then exit 1; fi
|
||||||
## test with jdk7
|
## test with jdk7
|
||||||
- sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
|
- sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
|
||||||
- java -version
|
- java -version
|
||||||
- cp CI/pom.xml.circleci.java7 pom.xml # use jdk7 pom
|
- cp CI/pom.xml.circleci.java7 pom.xml # use jdk7 pom
|
||||||
- mvn clean install
|
- mvn --quiet clean install
|
||||||
- mvn -q verify -Psamples
|
- mvn --quiet verify -Psamples
|
||||||
# skip the rest if previous mvn task fails
|
# skip the rest if previous mvn task fails
|
||||||
- if [ $? -ne 0 ]; then exit 1; fi
|
- if [ $? -ne 0 ]; then exit 1; fi
|
||||||
## docker push done in Travis instead
|
## docker push done in Travis instead
|
||||||
|
@ -28,8 +28,8 @@ build:
|
|||||||
- mix --version
|
- mix --version
|
||||||
# test samples defined in pom.xml
|
# test samples defined in pom.xml
|
||||||
- cp CI/pom.xml.shippable pom.xml
|
- cp CI/pom.xml.shippable pom.xml
|
||||||
- mvn clean install
|
- mvn --quiet clean install
|
||||||
- mvn verify -P samples
|
- mvn --quiet verify -P samples
|
||||||
# generate all petstore sampless (client, servers, doc)
|
# generate all petstore sampless (client, servers, doc)
|
||||||
- ./bin/run-all-petstore 2>&1 > run-all-petstore.log
|
- ./bin/run-all-petstore 2>&1 > run-all-petstore.log
|
||||||
post_ci:
|
post_ci:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user