forked from treasure-data/digdag
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
63 lines (51 loc) · 1.09 KB
/
.travis.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
sudo: required
language: java
dist: trusty
jdk:
- oraclejdk8
services:
- docker
cache:
directories:
- $HOME/.gradle
- $HOME/.m2
env:
global:
- TERM=dumb
- CI_NODE_TOTAL=12
- BUILD_IMAGE=digdag/digdag-build:20191203T225216-c5b7206657c98c728b183634079f0a919ee98f8c
matrix:
- CI_NODE_INDEX=0
- CI_NODE_INDEX=1
- CI_NODE_INDEX=2
- CI_NODE_INDEX=3
- CI_NODE_INDEX=4
- CI_NODE_INDEX=5
- CI_NODE_INDEX=6
- CI_NODE_INDEX=7
- CI_NODE_INDEX=8
- CI_NODE_INDEX=9
- CI_NODE_INDEX=10
- CI_NODE_INDEX=11
before_install:
- sudo service --status-all
- sudo /etc/init.d/mysql stop
- sudo /etc/init.d/redis-server stop
- |
docker run \
-w /digdag \
-v `pwd`/:/digdag \
-v $HOME/.gradle:/root/.gradle \
$BUILD_IMAGE \
./gradlew testClasses --no-daemon
- ci/validate.sh
install: true
before_cache:
- sudo chown `id -u`:`id -g` -R $HOME/.gradle $HOME/.m2 # make them cachable
script:
- travis_wait 40 ci/run_test.sh
after_success:
- ci/travis_report_coverage.sh
after_failure:
- sudo free -m -t
- sudo dmesg