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 11#! /bin/bash
22#
3- # Copyright 2016-2019 the original author or authors.
3+ # Copyright 2016-2020 the original author or authors.
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
66# you may not use this file except in compliance with the License.
@@ -35,15 +35,15 @@ echo "Current commit detected: ${commit_message}"
3535if [ $TRAVIS_REPO_SLUG == " mybatis/mybatis-dynamic-sql" ]; then
3636 if [ $TRAVIS_JDK_VERSION == " openjdk8" ]; then
3737 # coveralls maven is stuck at JDK8
38- ./mvnw clean test jacoco:report coveralls:report -q
38+ ./mvnw test jacoco:report coveralls:report -q
3939 echo -e " Successfully ran coveralls under Travis job ${TRAVIS_JOB_NUMBER} "
4040 fi
4141
4242 if [ $TRAVIS_JDK_VERSION == " openjdk11" ] && [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_BRANCH " == " master" ] && [[ " $commit_message " != * " [maven-release-plugin]" * ]]; then
4343 # 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
4545 # Deploy to Sonatype
46- ./mvnw clean deploy -q --settings ./travis/settings.xml
46+ ./mvnw deploy -q --settings ./travis/settings.xml
4747 echo -e " Successfully deployed SNAPSHOT artifacts to Sonatype under Travis job ${TRAVIS_JOB_NUMBER} "
4848 else
4949 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