This repository has been archived by the owner on May 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
/
.travis.yml
59 lines (48 loc) · 2.22 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
sudo: true
before_install:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS='-Xmx1024m'"
- "echo $GRADLE_OPTS"
- "export GRADLE_OPTS='-Dorg.gradle.parallel=false'"
- "wget https://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip -P $HOME/"
- "mkdir $HOME/chromedriver"
- "unzip $HOME/chromedriver_linux64.zip -d $HOME/chromedriver"
- "export PATH=$PATH:$HOME/chromedriver"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- ./gradlew assemble --stacktrace
script:
- set -e
- source gradle/setGitVariables.sh
- ./gradlew release -Prelease.disableRemoteCheck -Prelease.localOnly --stacktrace --continue
- ./gradlew check publishToMavenLocal -Pcoverage -Pcompatibility -Dstubrunner.skip-local-repo=true -PbintrayUser=${BINTRAY_USER} -PbintrayKey=${BINTRAY_API_KEY} --stacktrace --continue
- if [ $DO_ACCEPTANCE_TESTS == true ]; then ./gradle/runBootMicroserviceAcceptanceTests.sh; fi
- ./gradlew finalizeRelease publishUploadedArtifacts -x test -Pcoverage -Pcompatibility -Dstubrunner.skip-local-repo=true -PbintrayUser=${BINTRAY_USER} -PbintrayKey=${BINTRAY_API_KEY} --stacktrace
after_success:
- ./gradlew jacocoRootReport coveralls -Pcoverage --continue
cache:
directories:
- $HOME/.gradle
- $HOME/.m2
language: groovy
dist: trusty
jdk:
- oraclejdk8
addons:
chrome: stable
env:
global:
- TERM=dumb
- SKIP_RELEASE=false
- DO_ACCEPTANCE_TESTS=true
- secure: Np3RMeWmXL4h0PuzZgPd9HjRrpVYcsKfY2r2IckrdhRlRTWUVr+uz0V/lljj179cyMSY6fBzvrmsK8EELUvP3u3HsGPpKrgrpKUWDlDkoQ8SgxXTZjEOMIE5rh9mwGNH94mUF6o9VQnKAlrs3SBYnmwqYFgMhGiI7u0IE7bYEbk=
- secure: J4fk9XkFDpm5GCP2kBd7aKHW3CgFAr3zSpfnDTQV3n7qlvzQNUU+OfMSi86+J5Rxm3HOkl0SypYQjQv4NBytnaV/mV6ZAztHnoC0YYx0D3B3OSzFVstrkyddIF19R/ejEwTezAJg/bLXdZemTveHJHoEnbkv0fN+CIZ9kz/9bt4=
- secure: ogwhc2NiNb0YIiWuUu7K24plJiSYVEeOj9rOh1PG6RoSRVJ1Bh6+hQ//vCaak4Z/pPmLkikPhFjfnYMQlyvmc9qhXUABjJ1SzZRozoZETRpMrFXu//Q6fCkh2P5ygKezNaAgD+zKbf+8DEkUW/7XOTNczTQZ1mL6XgS3BThPUA8=
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/57cf940e3be7a7073287
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false