-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 1.43 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
dist: trusty
language: java
jdk:
- openjdk11
# Configure mail notifications
notifications:
email:
on_success: never
on_failure: always
# Update permission for gradle wrapper
before_install:
- chmod +x gradlew
# Run code coverage report
script:
- ./gradlew check
- ./gradlew codeCoverageReport
cache: false
# Upload test coverage to codecov
after_success:
- bash <(curl -s https://codecov.io/bash)
# Generate project object model (POM)
before_deploy:
- ./gradlew generatePomFileForMavenCustomPublication
# Deploy artefact to bintray (https://docs.travis-ci.com/user/deployment/bintray)
deploy:
provider: bintray
on:
all_branches: true
file: ./bintray.json
user: mwieland
key:
secure: NfYL4XYznxI2uJ6K0DirXCmPKd6ZloB6GhVYcpopX+XLy6eue+PdQP2IT+0ZjowQYUK653zmGMxsP/VF8pQgQ92OyD0cPEOWV3FrpfrBqNEzR6o4vSEZKx0ClzVK/ykUSJ41a4X1fFcA6z8Tf0hNWhHg5XdOdalEWKTVcKNdr4l2xwkrD8ENEttj5ETzbJ+oQIsXtLn58fWDM8mujeC4uSfRTuiaLaedd6K8QgZLKhXh8Y4xPyxflNc5fx8T0dT6Pv2ktHI4sITeivXEEzRgwJ4/1IfB3YXyZCncqSTcMIX0y/i3iQQ20p2iCAFVIZ5JqqSvRcw5BXgEup5ak6EWrgSuQwzE2Xk0KqWxyvm0UPuhjJrbjFzgcBd3bV09JgvkAoO60gJd+2SgYeL0C4e03mdvuauzj+B7JeD4vSwa5ThcWwOtMuZ/IiGaaIeM8WzrEWb3H5ipl39g6go8lzEdDAJuzw8YnPHsjDyhqtMlBvVjdPO8T+zY5Y3AbXLFc9N3ybAuAyQal5tO7YFSA8hdMxEmDLrkV98vABafCVBYOZIjA4KA+tcKAlrNuxWPgZF0/1nAUmyU2JTl/O/VEvgga/BBrvATXx5Fd5Q/wFIZl2yxhCGYsF828hrP2VrD//ntLdz/2ImbY2sQGAIn2/DvTwHEMCkEtssp8ArfaDrRsrg=
skip_cleanup: true
passphrase: GPG_PASSPHRASE