forked from OpenLiberty/ci.gradle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 1.15 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
sudo: required
language: java
jdk:
- oraclejdk8
- openjdk11
env:
- RUNTIME=wlp RUNTIME_VERSION=20.0.0.6
- RUNTIME=wlp RUNTIME_VERSION=20.0.0.9
- RUNTIME=ol RUNTIME_VERSION=20.0.0.6
- RUNTIME=ol RUNTIME_VERSION=20.0.0.9
before_install:
- echo 'Installing ci.ant lib ....'
- git clone https://github.com/OpenLiberty/ci.ant.git ./ci.ant
- cd ./ci.ant
- mvn clean install
- cd ..
# - echo 'Skip Installing ci.common lib ....'
- echo 'Installing ci.common lib ....'
- git clone https://github.com/OpenLiberty/ci.common.git ./ci.common
- cd ./ci.common
- mvn clean install
- cd ..
script:
- export GRADLE_OPTS="-Dorg.gradle.daemon=true -Dorg.gradle.jvmargs='-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m'"
- ./gradlew clean install check -Ptest.exclude="**/*15*" -Druntime=$RUNTIME -DruntimeVersion=$RUNTIME_VERSION --stacktrace --info --no-daemon
- ./gradlew wrapper --gradle-version 4.10
- ./gradlew check -Ptest.include="**/*15*" -Druntime=$RUNTIME -DruntimeVersion=$RUNTIME_VERSION --stacktrace --info --no-daemon
dist: trusty