forked from JanusGraph/janusgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
92 lines (77 loc) · 3.65 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
language: java
sudo: false
jdk:
- oraclejdk8
cache:
directories:
- ${HOME}/.m2
env:
global:
# This is the encrypted COVERITY_SCAN_TOKEN, created via the
# `travis encrypt` command using the project repo's public key.
- secure: "v5ixqTeb74y0vRuPcDbe3C28GDDYvqyEXA2dt+9UVU6GG7WpnmpkBf05gI1dIhp51lBhwx9WSlFBtzho+KdCBmNY/CzBRhVHe/lCQYK9Hb6uGPvuwBvC0WjJgJXsVrLFjppeRhcf+OAweVQ3uw2RPMDRvKIVMUcO1BTFjjJl6REJXNUdzGS57MtH2mmRyOEz250EwgqUELZvcOytG7fNrjMJKVK2nSsoxi0BqZIpItTWPWWeQ1wi1FplJ18A2qtD+MPfAGNSB+/a+r0Av+VCT2eGl06ZyZAzP3q/vG5IYjQ3AJsSPqcZUt4ms+2us1+kwuzXIILjzZmcfImu29+y/thndU5E5b2v+nZ4H69CUCc5OmKW2RwozLNmBIUhO0n+35va/J7FiPIqm3pwxCz5vWA3YTHDADxnIYe7+9uY/+dOK/AvP5fyu7u07vuF3liKNBdrX7ylP3kYc7FXGmYl8wCZv31iy1yTtndQ9qKef7bo8lM9Cdh39KyowrygH+Um7pr9gqf2S9jn99nQ3bib32fBWgBkLpJRwhZYHPUupZjZfgu/9woby0DuriuHZKMqZd7QUawYz6wXGlhzu78x5Tohlj1pGBwHYdcJ/Tm3PiEpyH4aYQLffkjGHJAcCW5tO8QbB0qrLYWC8xVMWuFz1TpSBRXOqVYdBfIa2UZDtOU="
matrix:
- MODULE='berkeleyje'
- MODULE='cassandra'
- MODULE='es' ARGS='-DthreadCount=1'
- MODULE='hadoop-parent/janusgraph-hadoop-2'
- MODULE='hbase-parent/janusgraph-hbase-098'
- MODULE='hbase-parent/janusgraph-hbase-10'
- MODULE='lucene' ARGS='-DthreadCount=1'
- MODULE='solr' ARGS='-DthreadCount=1'
- MODULE='test'
matrix:
# https://docs.travis-ci.com/user/customizing-the-build#Rows-that-are-Allowed-to-Fail
allow_failures:
# Non-deterministic: can pass or fail, regardless of any relevant changes.
# https://travis-ci.org/JanusGraph/janusgraph/jobs/198165185
- env: MODULE='berkeleyje'
# Currently broken due to too many log statements (exceeds 4MB)
# https://travis-ci.org/JanusGraph/janusgraph/jobs/197472452
- env: MODULE='cassandra'
# Currently broken due to too many log statements (exceeds 4MB)
# https://travis-ci.org/JanusGraph/janusgraph/jobs/197472453
- env: MODULE='es' ARGS='-DthreadCount=1'
# Currently broken due to too many log statements (exceeds 4MB)
# https://travis-ci.org/JanusGraph/janusgraph/jobs/197672947
- env: MODULE='hadoop-parent/janusgraph-hadoop-2'
# Currently broken due to timeout (runs longer than 50min)
# https://travis-ci.org/JanusGraph/janusgraph/jobs/197672951
- env: MODULE='hbase-parent/janusgraph-hbase-098'
# Currently broken due to timeout (runs longer than 50min)
# https://travis-ci.org/JanusGraph/janusgraph/jobs/197672952
- env: MODULE='hbase-parent/janusgraph-hbase-10'
# Currently broken due to too many log statements (exceeds 4MB)
# https://travis-ci.org/JanusGraph/janusgraph/jobs/197427609
- env: MODULE='solr' ARGS='-DthreadCount=1'
addons:
apt:
packages:
- oracle-java8-installer
coverity_scan:
# Coverity config parameters described in detail:
# https://scan.coverity.com/travis_ci
project:
name: "JanusGraph/janusgraph"
version: "0.1.0-SNAPSHOT"
description: "Scalable, distributed graph database"
notification_email: janusgraph-ci@googlegroups.com
# For more info on `travis_wait`, see the docs:
# https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
build_command: "travis_wait mvn clean package -B -DskipTests=true"
branch_pattern: coverity_scan
branches:
only:
- master
- coverity_scan
script:
- if [[ "${COVERITY_SCAN_BRANCH}}" == 1 ]]; then
echo "Skipping build/test on 'coverity_scan' branch.";
exit 0;
fi
- mvn install -DskipTests=true -B -pl janusgraph-${MODULE} -am
- mvn verify -pl janusgraph-${MODULE} ${ARGS}
# Syntax and more info: https://docs.travis-ci.com/user/notifications
notifications:
email:
- janusgraph-ci@googlegroups.com