forked from mehulsbhatt/db-queue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (25 loc) · 836 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
jdk:
- oraclejdk8
env:
- TERM=dumb
#Below skips the installation step completely (https://docs.travis-ci.com/user/customizing-the-build/#Skipping-the-Installation-Step)
#We need it because otherwise Travis CI injects an awkward './gradlew assemble' step into the CI workflow
#We want to control and decide what Gradle tasks are executed
install:
- true
before_script:
- git config --global user.email "travis@travis-ci.org"
- git config --global user.name "travis-ci"
script:
- ./gradlew clean build bintrayUpload --info
after_success:
- bash <(curl -s https://codecov.io/bash)
- ./publish_doc.sh
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/