-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy path.travis.yml
More file actions
46 lines (34 loc) · 780 Bytes
/
.travis.yml
File metadata and controls
46 lines (34 loc) · 780 Bytes
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
sudo: required
dist: trusty
language: java
jdk:
- oraclejdk8
notifications:
email: false
env:
global:
# Make sure there is enough memory to complete the build
- MAVEN_OPTS="-Xms256m -Xmx512m -Xss16m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"
matrix:
# Unit tests
- TEST_ARGS="-Pcompile-spec-pipelines"
cache:
directories:
- $HOME/.m2
- $HOME/.zinc
addons:
apt:
packages:
- pv
install:
- mvn -q dependency:resolve-plugins
- tools/zinc_setup.sh
before_script:
- tools/zinc.sh start
script:
# Enable exit code propagation through pipes
- set -o pipefail
# Use pipe view (`pv`) to work around command line output timeout
- mvn verify $TEST_ARGS | pv -t -b -l -i 10
after_script:
- tools/zinc.sh stop