summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 45373358c292c0f550c9580054f1a8027d5872b4 (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
language: scala
sudo: required
dist: trusty

jdk:
  - oraclejdk8

matrix:
  include:
  - stage: build
    env: CI_SCRIPT=ci/test-mill-0.sh
  - stage: build
    env: CI_SCRIPT=ci/test-mill-1.sh
  - stage: build
    env: CI_SCRIPT=ci/test-mill-2.sh
  - stage: build
    env: CI_SCRIPT=ci/test-mill-dev.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:
  - curl -L -o ~/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.3/0.1.3 && chmod +x ~/bin/mill
  - export PATH=~/bin/mill:$PATH
  - "$CI_SCRIPT"

cache:
  directories:
  - $HOME/.coursier