summaryrefslogblamecommitdiff
path: root/.travis.yml
blob: 6c978b1f4c0ad7bf8cd9d46b2c800788f23a04ba (plain) (tree)
1
2
3
4
5
6
7
8
9







                             
                   


                                                  
                   

                                                       
                   

       
                                                                                                                        





                                
language: scala
sudo: required
dist: trusty

matrix:
  include:
  - stage: build
    env: CI_SCRIPT=ci/test.sh
    jdk: oraclejdk9

  - stage: release
    env: CI_SCRIPT="ci/on-master.py ci/release.sh"
    jdk: oraclejdk9
  - stage: release
    env: CI_SCRIPT="ci/on-master.py ci/publish-docs.sh"
    jdk: oraclejdk8

script:
  - curl -L -o ~/bin/mill https://github.com/lihaoyi/mill/releases/download/0.2.6/0.2.6-11-1287d7 && chmod +x ~/bin/mill
  - export PATH=~/bin/mill:$PATH
  - "$CI_SCRIPT"

cache:
  directories:
  - $HOME/.coursier