Permalink
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (21 sloc) 426 Bytes
language: scala
jdk: oraclejdk8
before_install:
- git fetch --tags
script: sbt -batch ++${TRAVIS_SCALA_VERSION} test
cache:
directories:
- $HOME/.cache
- $HOME/.coursier
- $HOME/.ivy2/cache
- $HOME/.sbt
stages:
- name: test
- name: release
if: (branch = master AND type = push) OR (tag IS present)
jobs:
include:
- scala: 2.11.12
- scala: 2.12.7
- stage: release
script: sbt ci-release