Skip to content

Commit

Permalink
fixed tagged deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
overheadhunter committed Sep 5, 2019
1 parent ffc7223 commit cf548b2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ install:
- echo "MAVEN_OPTS='-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true'" > ~/.mavenrc
before_script:
- mvn -B --update-snapshots dependency-check:check -Pdependency-check
- if [ -n "$TRAVIS_TAG" ]; then mvn versions:set -DnewVersion=${TRAVIS_TAG}; fi
script:
- mvn -B clean test jacoco:report verify -Pcoverage -Dorg.slf4j.simpleLogger.defaultLogLevel=debug
- |
Expand All @@ -26,10 +27,8 @@ cache:
- $HOME/.m2
deploy:
- provider: script
script:
- mvn versions:set -DnewVersion=${TRAVIS_TAG}
- mvn clean deploy -DskipTests -Prelease
skip_cleanup: false
script: mvn clean deploy -DskipTests -Prelease
skip_cleanup: true
on:
repo: cryptomator/cryptofs
tags: true
Expand Down

0 comments on commit cf548b2

Please sign in to comment.