forked from treasure-data/digdag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
36 lines (32 loc) · 848 Bytes
/
circle.yml
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
machine:
timezone: UTC
java:
version: oraclejdk8
environment:
TERM: dumb # don't let gradle use fancy ansi seq code
BUILD_IMAGE: digdag/digdag-build:20180629T182056-57453625881ad5b75c430cd04f128d3dd5a01d55
services:
- docker
dependencies:
cache_directories:
- "~/docker"
- "~/.gradle"
- "~/.m2"
override:
# download and cache dependencies
- "docker run -w /digdag -v `pwd`/:/digdag -v ~/.gradle:/root/.gradle $BUILD_IMAGE ./gradlew testClasses --no-daemon":
timeout: 7200
test:
pre:
override:
- CI_NODE_TOTAL=$CIRCLE_NODE_TOTAL CI_NODE_INDEX=$CIRCLE_NODE_INDEX ci/run_td_tests.sh:
parallel: true
timeout: 7200
post:
- ci/circle_gather_test_reports.sh:
parallel: true
deployment:
docs:
branch: master
commands:
- ci/run_deployment.sh