File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
#
3
- # Copyright 2016-2019 the original author or authors.
3
+ # Copyright 2016-2020 the original author or authors.
4
4
#
5
5
# Licensed under the Apache License, Version 2.0 (the "License");
6
6
# you may not use this file except in compliance with the License.
@@ -35,15 +35,15 @@ echo "Current commit detected: ${commit_message}"
35
35
if [ $TRAVIS_REPO_SLUG == " mybatis/mybatis-dynamic-sql" ]; then
36
36
if [ $TRAVIS_JDK_VERSION == " openjdk8" ]; then
37
37
# coveralls maven is stuck at JDK8
38
- ./mvnw clean test jacoco:report coveralls:report -q
38
+ ./mvnw test jacoco:report coveralls:report -q
39
39
echo -e " Successfully ran coveralls under Travis job ${TRAVIS_JOB_NUMBER} "
40
40
fi
41
41
42
42
if [ $TRAVIS_JDK_VERSION == " openjdk11" ] && [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_BRANCH " == " master" ] && [[ " $commit_message " != * " [maven-release-plugin]" * ]]; then
43
43
# Run Sonar Analysis
44
- ./mvnw sonar:sonar -Dsonar.projectKey=mybatis_mybatis-dynamic-sql
44
+ ./mvnw test jacoco:report sonar:sonar -Dsonar.projectKey=mybatis_mybatis-dynamic-sql
45
45
# Deploy to Sonatype
46
- ./mvnw clean deploy -q --settings ./travis/settings.xml
46
+ ./mvnw deploy -q --settings ./travis/settings.xml
47
47
echo -e " Successfully deployed SNAPSHOT artifacts to Sonatype under Travis job ${TRAVIS_JOB_NUMBER} "
48
48
else
49
49
echo " Not a master branch commit so no deployment of the new snapshot needed"
You can’t perform that action at this time.
0 commit comments