Reduce CI logging (#119)

This commit is contained in:
Ben Mordue 2018-05-21 16:15:51 +01:00 committed by William Cheng
parent f22224574b
commit 866dc03f4f
4 changed files with 9 additions and 9 deletions

View File

@ -90,8 +90,8 @@ 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
- mvn --quiet clean install
- mvn --quiet verify -Psamples
after_success:
# push a snapshot version to maven repo
- if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_BRANCH" = "master" ]; then

View File

@ -32,7 +32,7 @@ build_script:
- 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"
# install openapi-generator locally
- mvn clean install --batch-mode
- mvn clean install --quiet
test_script:
# 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

View File

@ -35,16 +35,16 @@ test:
override:
## test with jdk8
- java -version
- mvn clean install
- mvn -q verify -Psamples
- mvn --quiet clean install
- mvn --quiet 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
- cp CI/pom.xml.circleci.java7 pom.xml # use jdk7 pom
- mvn clean install
- mvn -q verify -Psamples
- mvn --quiet clean install
- mvn --quiet verify -Psamples
# skip the rest if previous mvn task fails
- if [ $? -ne 0 ]; then exit 1; fi
## docker push done in Travis instead

View File

@ -28,8 +28,8 @@ build:
- mix --version
# test samples defined in pom.xml
- cp CI/pom.xml.shippable pom.xml
- mvn clean install
- mvn verify -P samples
- mvn --quiet clean install
- mvn --quiet verify -P samples
# generate all petstore sampless (client, servers, doc)
- ./bin/run-all-petstore 2>&1 > run-all-petstore.log
post_ci: