-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b4c06c
commit 059fe3f
Showing
5 changed files
with
56 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,42 @@ | ||
language: scala | ||
scala: | ||
- 2.12.12 | ||
- 2.13.3 | ||
|
||
jdk: | ||
- openjdk8 | ||
|
||
before_install: | ||
- git fetch --tags | ||
|
||
stages: | ||
- name: test | ||
- name: release | ||
if: ((branch = master AND type = push) OR (tag IS present)) AND NOT fork | ||
|
||
jobs: | ||
include: | ||
# stage="test" if no stage is specified | ||
- name: test jdk11 2.13 | ||
scala: [2.13.3] | ||
jdk: openjdk11 | ||
script: sbt ++$TRAVIS_SCALA_VERSION test | ||
- name: test jdk8 2.13 | ||
scala: [2.13.3] | ||
jdk: openjdk8 | ||
script: sbt ++$TRAVIS_SCALA_VERSION test | ||
- name: test jdk11 2.12 | ||
scala: [2.12.12] | ||
jdk: openjdk11 | ||
script: sbt ++$TRAVIS_SCALA_VERSION test | ||
- name: test jdk8 2.12 | ||
scala: [2.12.12] | ||
jdk: openjdk8 | ||
script: sbt ++$TRAVIS_SCALA_VERSION test | ||
# run ci-release only if previous stages passed | ||
- stage: release | ||
name: release | ||
jdk: openjdk8 | ||
script: sbt ci-release | ||
|
||
cache: | ||
directories: | ||
- $HOME/.ivy2/cache | ||
- $HOME/.sbt/boot/ | ||
- $HOME/.sbt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.14") | ||
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.3") // publish to maven central using sonatype nexus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters