aboutsummaryrefslogtreecommitdiff
path: root/circle.yml
blob: e9e634c4026d586f97222f96ab403506ff2205a7 (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
machine:
  java:
    version: oraclejdk8

dependencies:
#  cache_directories:
#    - "cache"
  override:
    - sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe"
    - sudo apt-get update
    - sudo apt-get install -t trusty-backports shellcheck

compile:
  override:
    - ./cbt compile
    - git diff --exit-code
    - ./cbt direct
    - ./cbt -Dlog=all

test:
  override:
    - rm ~/.gitconfig # avoid url replacement breaking jgit
    - ./cbt direct test.run slow:
        timeout: 1800
    - ./cbt test.run slow:
        timeout: 1800
    - git diff --exit-code