This repository was archived by the owner on Oct 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.travis.yml
More file actions
46 lines (45 loc) · 1.37 KB
/
.travis.yml
File metadata and controls
46 lines (45 loc) · 1.37 KB
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
- oraclejdk11
env:
- RUNTIME=ol BUILD_TOOL=maven
# - RUNTIME=wlp BUILD_TOOL=maven
- RUNTIME=tomee BUILD_TOOL=maven
# - RUNTIME=ol RUNTIME_VERSION=19.0.0.2 BUILD_TOOL=gradle
# - RUNTIME=wlp RUNTIME_VERSION=19.0.0.2 BUILD_TOOL=gradle
# - RUNTIME=ol RUNTIME_VERSION=19.0.0.3 BUILD_TOOL=gradle
# - RUNTIME=wlp RUNTIME_VERSION=19.0.0.3 BUILD_TOOL=gradle
cache:
directories:
- $HOME/.m2
services:
- docker
before_install:
- echo "Deleting old .m2 artifacts..."
- rm -rf $HOME/.m2/repository/net/wasdev
- rm -rf $HOME/.m2/repository/io/openliberty
- rm -rf $HOME/.m2/repository/org/microshed
- docker run -d -p 5000:5000 --restart=always --name registry registry:2
install: true
before_script:
- sudo /etc/init.d/mysql stop
script:
- cd boost-common
- mvn install -Dinvoker.streamLogs=true
- cd ../boost-maven
- mvn install -Dinvoker.streamLogs=true
- cd ..
- |
if [ "$BUILD_TOOL" = "maven" ]; then
export CD_COMMAND="cd boost-maven";
export TEST_COMMAND="mvn install -Pit -DboostRuntime=$RUNTIME";
else
export CD_COMMAND="cd boost-gradle";
export TEST_COMMAND="./gradle-test.sh"
fi;
- ./travis.sh
after_failure:
- cat boost-maven/boost-maven-plugin/target/it/test-dev-release/build.log