Browse Source

Ignore IT plugins for all PRs

tags/5.2-RC1
David Gageot 8 years ago
parent
commit
21470451d7
2 changed files with 9 additions and 9 deletions
  1. 2
    6
      .travis.yml
  2. 7
    3
      travis.sh

+ 2
- 6
.travis.yml View File

@@ -1,9 +1,8 @@
language: java
sudo: false
install: true

jdk:
- oraclejdk7
jdk: oraclejdk7
script: ./travis.sh

env:
- JOB=H2
@@ -22,9 +21,6 @@ env:
matrix:
fast_finish: true

script:
- ./travis.sh

cache:
directories:
- '$HOME/.m2/repository'

+ 7
- 3
travis.sh View File

@@ -48,7 +48,7 @@ WEB)
;;

PRANALYSIS)
if [ -n "$SONAR_GITHUB_OAUTH" ] && [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
if [ -n "$SONAR_GITHUB_OAUTH" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo "Start pullrequest analysis"
mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -B -e -V -Dmaven.test.failure.ignore=true -Dclirr=true \
-Dsonar.analysis.mode=incremental \
@@ -63,8 +63,12 @@ PRANALYSIS)
;;

ITS)
prepareIts
mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory=$IT_CATEGORY -Dmaven.test.redirectTestOutputToFile=false -e
if [ "$IT_CATEGORY" == "plugins" ] && [ "$TRAVIS_PULL_REQUEST" == "true" ]; then
echo "Ignore this job since it needs access to private test licenses."
else
prepareIts
mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory=$IT_CATEGORY -Dmaven.test.redirectTestOutputToFile=false -e
fi
;;

esac

Loading…
Cancel
Save