From 16f30dee2063478ff9b95ac8929bae40aa559487 Mon Sep 17 00:00:00 2001 From: lu4nm3 Date: Tue, 11 Sep 2018 22:07:31 -0700 Subject: [PATCH] Updated Travis CI --- .travis.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 705df83..78158ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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 \ No newline at end of file