Skip to content

Commit 4e1237f

Browse files
committed
Modified travis config to only create snapshots of the master branch.
Fixes #122
1 parent 42bb838 commit 4e1237f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ env:
1010

1111

1212
after_success:
13-
- python travis-ci/configure-mvn.py
14-
- mvn clean deploy --settings ~/.m2/mySettings.xml -Dgpg.skip=true -Psonatype-oss-release
13+
- "[[ $TRAVIS_BRANCH == \"master\" ]] && { python travis-ci/configure-mvn.py ; mvn clean deploy --settings ~/.m2/mySettings.xml -Dgpg.skip=true -Psonatype-oss-release }"

0 commit comments

Comments
 (0)