File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,14 @@ echo "Current commit detected: ${commit_message}"
32
32
# a. Use -q option to only display Maven errors and warnings.
33
33
# b. Use --settings to force the usage of our "settings.xml" file.
34
34
35
- if [ $TRAVIS_JDK_VERSION == " openjdk11" ] && [ $TRAVIS_REPO_SLUG == " mybatis/mybatis-dynamic-sql" ]; then
36
-
37
- ./mvnw clean test jacoco:report coveralls:report -q
38
- echo -e " Successfully ran coveralls under Travis job ${TRAVIS_JOB_NUMBER} "
35
+ if [ $TRAVIS_REPO_SLUG == " mybatis/mybatis-dynamic-sql" ]; then
36
+ if [ $TRAVIS_JDK_VERSION == " openjdk8" ]; then
37
+ # coveralls maven is stuck at JDK8
38
+ ./mvnw clean test jacoco:report coveralls:report -q
39
+ echo -e " Successfully ran coveralls under Travis job ${TRAVIS_JOB_NUMBER} "
40
+ fi
39
41
40
- if [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_BRANCH " == " master" ] && [[ " $commit_message " != * " [maven-release-plugin]" * ]]; then
42
+ if [ $TRAVIS_JDK_VERSION == " openjdk11 " ] && [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_BRANCH " == " master" ] && [[ " $commit_message " != * " [maven-release-plugin]" * ]]; then
41
43
# Run Sonar Analysis
42
44
./mvnw sonar:sonar -Dsonar.projectKey=mybatis_mybatis-dynamic-sql
43
45
# Deploy to Sonatype
You can’t perform that action at this time.
0 commit comments