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

            


              

          
                
                                                                 
                                   
                   
                
                                                                 
                                   
                   
 
                
                                                                       
                               
                   
                
                                                                       
                               
                   
 
                
                                     
                   
 
                
                        
                             
                   
                
                                             
                             
                   
                
                                             
                             
                   
 
 
                  
                                                           
                                           
                   
                  
                                         
                                                
                   


              
                   
language: scala
sudo: required
dist: trusty

git:
  depth: false

matrix:
  include:
  - stage: build
    name: Test Mill Release with some integration tests on Java 8
    script: ci/test-mill-release.sh
    jdk: oraclejdk8
  - stage: build
    name: Test Mill Release with some integration tests on Java 9
    script: ci/test-mill-release.sh
    jdk: oraclejdk9

  - stage: build
    name: Run dev.assembly and the use it to build main tests on Java 8
    script: ci/test-mill-dev.sh
    jdk: oraclejdk8
  - stage: build
    name: Run dev.assembly and the use it to build main tests on Java 9
    script: ci/test-mill-dev.sh
    jdk: oraclejdk9

  - stage: build
    script: ci/test-mill-bootstrap.sh
    jdk: oraclejdk9

  - stage: build
    name: Run mill tests
    script: ci/test-mill-0.sh
    jdk: oraclejdk8
  - stage: build
    name: Run mill integration tests (part 1)
    script: ci/test-mill-1.sh
    jdk: oraclejdk8
  - stage: build
    name: Run mill integration tests (part 2)
    script: ci/test-mill-2.sh
    jdk: oraclejdk9


  - stage: release
    name: Publish mill to Maven Central and Github Releases
    script: "ci/on-master.py ci/release.sh"
    jdk: oraclejdk8
  - stage: release
    name: Publish mill documentation site
    script: "ci/on-master.py ci/publish-docs.sh"
    jdk: oraclejdk8

cache:
  directories:
  - $HOME/.coursier