Skip to content

Commit cd16b64

Browse files
committed
upgrade to circleci 2.0
1 parent 6187113 commit cd16b64

File tree

2 files changed

+50
-40
lines changed

2 files changed

+50
-40
lines changed

.circleci/config.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/cbt
5+
docker:
6+
- image: circleci/java:8-jdk
7+
steps:
8+
- checkout
9+
- restore_cache:
10+
key: dependency-cache
11+
- run:
12+
command: 'mkdir -p ~/cache'
13+
- run:
14+
command: 'rm ~/.gitconfig || true' # avoid url replacement breaking jgit
15+
- run:
16+
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'
17+
- run:
18+
command: 'sudo dpkg -i ~/cache/nailgun_0.9.0+trunk95-3_amd64.deb'
19+
- run:
20+
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'
21+
- run:
22+
command: 'sudo dpkg -i ~/cache/shellcheck_0.3.3-1~ubuntu14.04.1_amd64.deb'
23+
- save_cache:
24+
key: dependency-cache
25+
paths:
26+
- "~/cache"
27+
- run:
28+
command: './cbt direct compile'
29+
- run:
30+
command: './cbt direct test.compile'
31+
- run:
32+
command: './cbt compile'
33+
- run:
34+
command: './cbt -Dlog=all'
35+
- run:
36+
command: 'git diff --exit-code'
37+
- run:
38+
command: './cbt direct test.run slow fork direct'
39+
- run:
40+
command: './cbt direct test.run slow fork'
41+
- run:
42+
command: './cbt direct test.run slow'
43+
- run:
44+
command: './cbt test.run slow fork direct'
45+
- run:
46+
command: './cbt test.run slow fork'
47+
- run:
48+
command: './cbt test.run slow'
49+
- run:
50+
command: 'git diff --exit-code'

circle.yml

-40
This file was deleted.

0 commit comments

Comments
 (0)