-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
36 lines (36 loc) · 956 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
32
33
34
35
36
language: java
sudo: false
jdk:
- openjdk11
before_install:
- chmod +x ./gradlew
script:
- xvfb-run ./gradlew check --stacktrace
- ./gradlew jacocoTestReport
before_deploy:
- ./gradlew generateLicenseReport
- ./gradlew javadoc
- ./gradlew dependencies
- echo $SIGNING_KEY_SECRING_BASE64 | base64 --decode > ./signing.key.secring
- export SIGNING_KEY_PATH=./signing.key.secring
- mkdir -p projectpage
- cp -rv build/reports/* projectpage
- cp -rv build/docs/* projectpage
- cp -rv docs/* projectpage
deploy:
- provider: script
skip_cleanup: true
script: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -DDEPLOYMENT=true
on:
tags: true
jdk: openjdk11
- provider: pages
skip_cleanup: true
github-token: $GITHUB_TOKEN
local-dir: projectpage
keep-history: false
on:
branch: master
jdk: openjdk11
after_success:
- bash <(curl -s https://codecov.io/bash)