aboutsummaryrefslogtreecommitdiff
path: root/circle.yml
blob: 08d9182f25798de17907927846fb7d61dd475352 (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
33
34
35
36
37
38
39
40
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