-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
34 lines (26 loc) · 893 Bytes
/
.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
language: java
# sudo-enabled environment has 7.5GB of RAM vs. 4GB of RAM for container-based
# env: https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
sudo: required
dist: trusty
jdk:
- oraclejdk8
env:
# https://docs.travis-ci.com/user/environment-variables/#Global-Variables
global:
# Ignore the defaults from /etc/mavenrc
- MAVEN_SKIP_RC=true
# Add more RAM; Maven is running out during the build:
# https://travis-ci.org/OpenTSDB/asyncbigtable/jobs/203079393
- MAVEN_OPTS="-Xms2048m -Xmx4096m -XX:MaxPermSize=4096m -XX:-UseGCOverheadLimit -XX:+UseG1GC"
install:
- echo $JAVA_HOME
- travis_wait mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- travis_wait mvn test -B
cache:
# https://docs.travis-ci.com/user/caching/#Arbitrary-directories
directories:
- $HOME/.m2
notifications:
email: false