Skip to content

Commit

Permalink
Fix publish stage script
Browse files Browse the repository at this point in the history
  • Loading branch information
savulchik committed Aug 19, 2017
1 parent e716a85 commit 452d545
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
@@ -1,3 +1,4 @@
sudo: false
language: scala
jdk: oraclejdk8
scala:
Expand All @@ -10,13 +11,13 @@ cache:
before_script:
- mkdir -v $HOME/.bintray
- cp -v ./.bintray $HOME/.bintray/.credentials
script: sbt ++$TRAVIS_SCALA_VERSION coverage test coverageReport coveralls
jobs:
include:
- stage: test
script: sbt ++$TRAVIS_SCALA_VERSION coverage test coverageReport coveralls
- stage: publish
script: "[[ $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_BRANCH == 'master' && $TRAVIS_TAG == '' ]] && sbt publish"
script:
scala: 2.12.3
script: skip
after_success: "[[ $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_BRANCH == 'master' && $TRAVIS_TAG == '' ]] && sbt +publish"
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -print -delete
Expand Down

0 comments on commit 452d545

Please sign in to comment.