Skip to content

Commit

Permalink
Updated Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lu4nm3 committed Sep 12, 2018
1 parent ebb1082 commit 16f30de
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .travis.yml
Expand Up @@ -21,12 +21,7 @@ before_install:
tar xv -C travis -f travis/local.secrets.tar;
fi

scala:
- 2.11.12
- 2.12.6

stages:
- name: build
- name: publish
if: (branch = master) AND (type = push) AND (tag IS blank)
- name: release
Expand All @@ -35,8 +30,19 @@ stages:
jobs:
include:
- stage: build
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 publishSigned sonatypeRelease
- scala: 2.12.6
script: sbt ++$TRAVIS_SCALA_VERSION publishSigned sonatypeRelease

0 comments on commit 16f30de

Please sign in to comment.