Skip to content

Commit

Permalink
Get Travis build to work. Try #5
Browse files Browse the repository at this point in the history
  • Loading branch information
lu4nm3 committed Sep 12, 2018
1 parent d1441ad commit f7e86f4
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Expand Up @@ -22,10 +22,10 @@ before_install:
fi

stages:
- name: build
- name: publish
if: (branch = master) AND (type = push)
- name: release
- build
- publish
if: (branch = master) AND (type = push) AND (tag IS blank)
- release
if: tag IS present

jobs:
Expand All @@ -34,16 +34,13 @@ jobs:
scala: 2.11.12
script: sbt ++$TRAVIS_SCALA_VERSION clean compile test
- scala: 2.12.6
script: sbt ++$TRAVIS_SCALA_VERSION clean compile test

- stage: publish
scala: 2.11.12
script: sbt ++$TRAVIS_SCALA_VERSION publishSigned
- scala: 2.12.6
script: sbt ++$TRAVIS_SCALA_VERSION publishSigned

- stage: release
scala: 2.11.12
script: sbt ++$TRAVIS_SCALA_VERSION sonatypeRelease
- scala: 2.12.6
script: sbt ++$TRAVIS_SCALA_VERSION sonatypeRelease
script: sbt ++$TRAVIS_SCALA_VERSION publishSigned sonatypeRelease
- scala: 2.12.6

0 comments on commit f7e86f4

Please sign in to comment.