blob: b1a82d8644fc71440ca836ea68f2bdee6bb0bd6d (
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
41
42
43
44
45
46
47
48
49
50
|
version: 2
jobs:
build:
working_directory: ~/cbt
docker:
- image: circleci/java:8-jdk
steps:
- checkout
- restore_cache:
key: dependency-cache
- run:
command: 'mkdir -p ~/cache'
- run:
command: 'rm ~/.gitconfig || true' # avoid url replacement breaking jgit
- run:
command: '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'
- run:
command: 'sudo dpkg -i ~/cache/nailgun_0.9.0+trunk95-3_amd64.deb'
- run:
command: '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'
- run:
command: 'sudo dpkg -i ~/cache/shellcheck_0.3.3-1~ubuntu14.04.1_amd64.deb'
- save_cache:
key: dependency-cache
paths:
- "~/cache"
- run:
command: './cbt direct compile'
- run:
command: './cbt direct test.compile'
- run:
command: './cbt compile'
- run:
command: './cbt -Dlog=all'
- run:
command: 'git diff --exit-code'
- run:
command: './cbt direct test.run slow fork direct'
- run:
command: './cbt direct test.run slow fork'
- run:
command: './cbt direct test.run slow'
- run:
command: './cbt test.run slow fork direct'
- run:
command: './cbt test.run slow fork'
- run:
command: './cbt test.run slow'
- run:
command: 'git diff --exit-code'
|