summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 57a75befac9b75c4b9559cef6972566df0ac1250 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: scala
sudo: required
dist: trusty

scala:
  - 2.12.4

jdk:
  - oraclejdk8

matrix:
  include:
  - stage: build
    env: CI_SCRIPT=ci/test-sbt.sh
  - stage: build
    env: CI_SCRIPT=ci/test-sbt-built.sh
  - stage: build
    env: CI_SCRIPT=ci/test-mill-built.sh
  - stage: build
    env: CI_SCRIPT=ci/test-mill-release.sh
  - stage: release
    env: CI_SCRIPT="ci/on-master.py ci/release.sh"
  - stage: release
    env: CI_SCRIPT="ci/on-master.py ci/publish-docs.sh"

script:
  - git fetch --unshallow --tags
  - "$CI_SCRIPT"
cache:
  directories:
  - $HOME/.sbt/0.13/dependency
  - $HOME/.sbt/boot/scala*
  - $HOME/.sbt/launchers
  - $HOME/.ivy2/cache
  - $HOME/.coursier

before_cache:
  - find $HOME/.sbt -name "*.lock" -type f -delete
  - find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete