-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
41 lines (40 loc) · 3.21 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
language: java
sudo: required
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
before_install:
- sudo apt-get install net-tools
- sudo apt-get install python-pip
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
## 2021 bintray eol. skip tests
install: "./gradlew clean build -x test"
script:
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ];then git checkout master;git remote set-url
origin "https://[email protected]/yahoo/parsec";./gradlew release; fi
- test "${TRAVIS_PULL_REQUEST}" != "false" || test "${TRAVIS_BRANCH}" != "master"
|| ./gradlew publishPlugins --info
- sudo pip install mkdocs
- mkdocs build
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ];then git fetch && git fetch origin gh-pages:gh-pages;mkdocs
gh-deploy --clean;fi
after_success:
- "./gradlew coveralls"
## reference : https://docs.travis-ci.com/user/environment-variables/
## global vars will be auto updated after run `travis encrytpion ...`
env:
global:
- secure: t/YmohP7hMuyGl6DcuRgPwUpm673SNKeFDegnEhikAK3155uMjQkbwqcbqzM6KTco0TVOVvoCDEp7C8DuJit8IYNgfXZdCo4nFS+XzzG8OtIy7RBRSWlwn/VaypTaqq6TFO+0Lvmo6oIyaT14D5M1eFwxpNie7Pjn9ycvZdMMcK/aUfTgRjvNiyFhZIT178JmzjdfpXsuTCp0eeK9mi/sQvT6zITIuyR9N61nvvcJiNENRidojH8jO8T1gL9QwcUrlJO95JuZ4o2uzFmlRxnPQj0qNJc9rEJJei9qFHvSz096FAxZFw9mE2OmFSiPmrn46nnxutfN9xsHn9ki3o+SjTlnY4h74fEcU/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