aboutsummaryrefslogblamecommitdiff
path: root/circle.yml
blob: 08d9182f25798de17907927846fb7d61dd475352 (plain) (tree)
1
2
3
4
5
6
7
8

        
                       

             

                    
           




                                                                                                                                                                                  


           
                                                           

                               
                   
                     
                          
 

           
                                 
                     





                                             
                          
                     



                                      
                          
machine:
  java:
    version: oraclejdk8

dependencies:
  cache_directories:
    - "~/cache"
  override:
    - mkdir -p ~/cache
    - wget http://mirrors.kernel.org/ubuntu/pool/universe/n/nailgun/nailgun_0.9.0+trunk95-3_amd64.deb --continue -O ~/cache/nailgun_0.9.0+trunk95-3_amd64.deb
    - sudo dpkg -i ~/cache/nailgun_0.9.0+trunk95-3_amd64.deb
    - wget http://mirrors.kernel.org/ubuntu/pool/universe/s/shellcheck/shellcheck_0.3.3-1~ubuntu14.04.1_amd64.deb --continue -O ~/cache/shellcheck_0.3.3-1~ubuntu14.04.1_amd64.deb
    - sudo dpkg -i ~/cache/shellcheck_0.3.3-1~ubuntu14.04.1_amd64.deb

compile:
  override:
    - rm ~/.gitconfig # avoid url replacement breaking jgit
    - ./cbt direct compile
    - ./cbt direct test.compile
    - ./cbt compile
    - ./cbt -Dlog=all
    - git diff --exit-code

test:
  override:
    - ./cbt direct test.run slow:
        timeout: 1800
    - ./cbt direct test.run slow:
        timeout: 1800
    - ./cbt direct test.run slow fork:
        timeout: 1800
    - ./cbt direct test.run slow fork direct:
        timeout: 1800
    - ./cbt test.run slow:
        timeout: 1800
    - ./cbt test.run slow fork:
        timeout: 1800
    - ./cbt test.run slow fork direct:
        timeout: 1800
    - git diff --exit-code