jdk:
  - openjdk8

scala:
  - 2.12.10

services:
  - docker

before_script:
  - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"

script:
  - ./sbt clean compile

after_success:
  - ./sbt docker:publish

# blacklist
branches:
  except:
    - RELEASE

notifications:
  slack: sdkman:QdA1XVUuYDjlYL4Z7gm16OEc

jdk:
  - openjdk8

scala:
  - 2.12.10

services:
  - docker

before_script:
  - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"

script:
  - ./sbt clean compile

after_success:
  - ./sbt docker:publish

cache:
  directories:
    - "$HOME/.ivy2"
    - "$HOME/.sbt"

# blacklist
branches:
  except:
    - RELEASE

notifications:
  slack: sdkman:QdA1XVUuYDjlYL4Z7gm16OEc

Revert "Remove sbt and ivy cache directories."
Revert "Remove sbt and ivy cache directories."

This reverts commit 4f2016d85bfc12e4c9eb1ad874715f543550fca8.
