-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
35 lines (35 loc) · 1.02 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
sudo: true
dist: trusty
language: java
branches:
only:
- master
before_script:
- echo "MAVEN_OPTS='$CUSTOM_MAVEN_OPTS'" > ~/.mavenrc
script:
- mvn test -Dantlr.testinprocess=true -DJDK_SOURCE_ROOT=../runtime/Java/src -Dperformance.package=
matrix:
include:
- addons:
apt:
packages:
- openjdk-6-jdk
name: openjdk6
env:
- JDK=openjdk6
- CUSTOM_MAVEN_OPTS=-Xmx1g
install:
- echo "Download Maven 3.2.5...";
wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip || travis_terminate 1;
unzip -qq apache-maven-3.2.5-bin.zip || travis_terminate 1;
export M2_HOME=$PWD/apache-maven-3.2.5;
export PATH=$M2_HOME/bin:$PATH;
mvn -version;
- jdk: openjdk7
env:
- CUSTOM_MAVEN_OPTS="-Xmx1g -DENABLE_JACOCO=true"
- jdk: oraclejdk8
env:
- CUSTOM_MAVEN_OPTS="-Xmx1g -DENABLE_JACOCO=true"
after_success:
- bash <(curl -s https://codecov.io/bash)