Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (37 sloc) 703 Bytes
language: scala
jdk:
- openjdk8
- openjdk11
scala:
- 2.12.9
services:
- docker
git:
depth: 500
before_install:
- git fetch --tags
cache:
directories:
- "$HOME/.ivy2/cache"
- "$HOME/.sbt/boot/"
install:
- pip install --user codecov
script: sbt ++$TRAVIS_SCALA_VERSION validate
after_success:
- codecov
stages:
- name: test
- name: release
if: (branch = master AND type = push) OR (tag IS present)
jobs:
include:
- stage: release
jdk: openjdk8
script: docker login -u $DOCKER_USER -p $DOCKER_PASS && sbt docker:publish
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/0c488817d5dc313a8cc7
on_success: change
on_failure: always
on_start: never
You can’t perform that action at this time.