Skip to content

Commit 8be49e9

Browse files
committed
ci: Only run tests on non-master branches and update credentials
1 parent 58111ff commit 8be49e9

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ script:
4242
- "./gradlew checkstyleMain"
4343
- "./gradlew checkstyleTest"
4444
- "./gradlew shadowJar"
45-
- if [ "${TRAVIS_EVENT_TYPE}" == "push" ] && [ "${TRAVIS_BRANCH}" != "master" ]; then ./gradlew codeCoverageReport --continue; fi
45+
- if [ "${TRAVIS_EVENT_TYPE}" == "push" ] && [ "${TRAVIS_BRANCH}" != "master" ] && [ "${TRAVIS_TAG}" != "${TRAVIS_BRANCH}" ]; then ./gradlew codeCoverageReport --continue; fi
4646
- "./gradlew docs > /dev/null"
4747
after_success:
4848
- bash <(curl -s https://codecov.io/bash)

secrets.tar.enc

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)