forked from apache/dubbo-samples
-
Notifications
You must be signed in to change notification settings - Fork 34
/
.travis.yml
31 lines (24 loc) · 1007 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
language: java
sudo: false
matrix:
include:
- jdk: openjdk11
env: JAVA_BASE_IMAGE=openjdk:11
- jdk: openjdk8
env: JAVA_BASE_IMAGE=openjdk:8
cache:
directories:
- $HOME/.m2
install: true
before_script:
- . .travis/prepare-artifact.sh
- cd java
script:
- ./mvnw -U --batch-mode --no-transfer-progress --settings .mvn/settings.xml clean install -pl dubbo-maven-address-plugin -Ddubbo.version=${INTERGARTION_TEST_VERSION}
- while sleep 8m; do echo "=====[ $SECONDS seconds, buildroot still building... ]====="; done &
- travis_wait 30 ./mvnw -fae -U --batch-mode --no-transfer-progress --settings .mvn/settings.xml clean verify -Pdubbo-integration-test -Djava-image.name=${JAVA_BASE_IMAGE} -Ddubbo.version=${INTERGARTION_TEST_VERSION} -Ddocker.showLogs > output.log
after_failure:
- tail -n 5000 output.log
- curl -i -F randomname=randomname -F file=@output.log https://uguu.se/api.php\?d\=upload-tool
after_success:
- bash <(curl -s https://codecov.io/bash)