Skip to content

Commit

Permalink
Merge 0456c19 into fa67fa3
Browse files Browse the repository at this point in the history
  • Loading branch information
valfirst committed Mar 9, 2020
2 parents fa67fa3 + 0456c19 commit 942b661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -17,13 +17,13 @@ jobs:
sonarcloud:
organization: "valfirst-github"
token:
secure: ${SONAR_CLOUD_TOKEN}
secure: "oj5bVWt7nvIGbKxlRcXiqp8xET1QR2NTYKfCCFAJi8WLg2TO/teO7VxG3rregEUnc/1DLfINPs69HAL13wcwH3TcvHeTJ3m6IC7VevJoj+/JK8yKJAyxkBLIE+j2cF+4HVHk72DSGGE+73b8+x1ItFJ/Gr/ISHL8i5dlyDHCcO4="
script:
- mvn test jacoco:report coveralls:report
- if [[ -n "${TRAVIS_PULL_REQUEST_SLUG}" && "${TRAVIS_PULL_REQUEST_SLUG}" != "${TRAVIS_REPO_SLUG}" ]]; then
echo "The pull request from ${TRAVIS_PULL_REQUEST_SLUG} is an EXTERNAL pull request. Skip sonar analysis and Codacy coverage reporting.";
else
mvn sonar:sonar com.gavinmogan:codacy-maven-plugin:coverage -DcoverageReportFile=target/site/jacoco/jacoco.xml -DprojectToken=${CODACY_PROJECT_TOKEN} -DapiToken=${CODACY_API_TOKEN} -Dcommit=${TRAVIS_COMMIT};
mvn sonar:sonar -Dsonar.projectKey=com.github.valfirst:jbehave-junit-runner com.gavinmogan:codacy-maven-plugin:coverage -DcoverageReportFile=target/site/jacoco/jacoco.xml -DprojectToken=${CODACY_PROJECT_TOKEN} -DapiToken=${CODACY_API_TOKEN} -Dcommit=${TRAVIS_COMMIT};
fi

cache:
Expand Down

0 comments on commit 942b661

Please sign in to comment.