From bd194b3e9754a690aa158fbcb4c8f6508525720b Mon Sep 17 00:00:00 2001 From: Gonzalo Ortiz Jaureguizar Date: Tue, 12 Jan 2016 11:59:55 +0100 Subject: [PATCH] Moved integration tests to a new profile called _integration_ Integration tests have been moved from _safer_ profile to a specific _integration_ profile. All commiters must compile their branches with _safer_ profile before their pull requests, but it doesn't seem to be very realistic to force all commiters to have their develop environment ready to run our integration tests (at least meanwhile they require very specific environment configurations to be run). Travis has been modified to enable both _safer_ and _integration_ tests, so all PR will run the integration tests before they will be accepted. --- .travis.yml | 9 +-------- pom.xml | 41 ++++++++++++++++++++++++----------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5badc2a..e73d5ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: java -script: mvn -Psafer -Passembler -B -e -T 1C verify +script: mvn -Psafer -Pintegration -Passembler -B -e -T 1C verify jdk: - oraclejdk8 - oraclejdk7 @@ -13,13 +13,6 @@ before_deploy: - echo "ossrh-snapshot\${env.MAVEN_DEPLOY_USER}\${env.MAVEN_DEPLOY_PASS}ossrh-release\${env.MAVEN_DEPLOY_USER}\${env.MAVEN_DEPLOY_PASS}" > ~/settings.xml deploy: -- provider: script - script: mvn -B -e -T 1C -Pdeploy -DskipTests=true deploy --settings ~/settings.xml - skip_cleanup: true - on: - repo: 8kdata/mongowp - tags: true - jdk: oraclejdk8 - provider: script script: mvn -B -e -T 1C -Pdeploy -DskipTests=true deploy --settings ~/settings.xml skip_cleanup: true diff --git a/pom.xml b/pom.xml index 1b8ca96..caae72a 100644 --- a/pom.xml +++ b/pom.xml @@ -331,23 +331,24 @@ + + + + + sign + + org.apache.maven.plugins - maven-surefire-plugin - 2.19 + maven-gpg-plugin + 1.6 - integration-tests - integration-test + sign-artifacts + verify - test + sign - - false - - %regex[.*integration.*] - - @@ -355,20 +356,26 @@ - sign + integration org.apache.maven.plugins - maven-gpg-plugin - 1.6 + maven-surefire-plugin + 2.19 - sign-artifacts - verify + integration-tests + integration-test - sign + test + + false + + %regex[.*integration.*] + +