forked from OpenLiberty/ci.maven
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 913 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
sudo: required
dist: xenial
language: java
jdk:
- openjdk8
- openjdk11
env:
- RUNTIME=ol RUNTIME_VERSION=20.0.0.6
- RUNTIME=ol RUNTIME_VERSION=20.0.0.9
- RUNTIME=wlp RUNTIME_VERSION=20.0.0.6
- RUNTIME=wlp RUNTIME_VERSION=20.0.0.9
cache:
directories:
- $HOME/.m2
before_install:
- echo "Deleting old .m2 artifacts..."
- rm -rf $HOME/.m2/repository/net/wasdev
- rm -rf $HOME/.m2/repository/io/openliberty
- echo 'Installing ci.ant lib...'
- git clone https://github.com/OpenLiberty/ci.ant.git ./ci.ant
- cd ./ci.ant
- mvn clean install
- cd ..
- echo 'Installing ci.common lib...'
- git clone https://github.com/OpenLiberty/ci.common.git ./ci.common
- cd ./ci.common
- mvn clean install
- cd ..
script:
- travis_wait 40 mvn verify -Ponline-its -Dinvoker.streamLogs=true -Druntime=$RUNTIME -DruntimeVersion=$RUNTIME_VERSION