Skip to content

Commit bb7d3a8

Browse files
committed
Only release automatically from official repository
1 parent b4866b4 commit bb7d3a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ language: scala
33
script: sbt ++$TRAVIS_SCALA_VERSION test scripted
44

55
after_script:
6-
- if [[ $TRAVIS_TEST_RESULT == 0 && "$TRAVIS_BRANCH" == "master" ]]; then sbt "^publish"; fi
6+
- if [[ $TRAVIS_TEST_RESULT == 0 &&
7+
"$TRAVIS_REPO_SLUG" == "scoverage/sbt-scoverage" &&
8+
"$TRAVIS_BRANCH" == "master" ]]; then sbt "^publish"; fi
79

810
scala:
911
- "2.10.4"

0 commit comments

Comments
 (0)