-
Notifications
You must be signed in to change notification settings - Fork 174
/
.travis.yml
36 lines (35 loc) · 1.19 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
language: groovy
jdk:
- oraclejdk7
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches
- $HOME/.gradle/wrapper
before_install:
chmod +x gradlew
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script: ./gradlew build
env:
global:
- secure: "X4/PDZwZrdOH6ysA2ADhTxqk2OG6bZ8FL6gLTGxwNWb3pnmGCWklHI2lyVEK2LCz++SD8ANV7zmhxjUQbY6VlcYGGiNtlstYNVG7N0geo7PeMWSMJ9c8J59ETXh64/4pFQmZZR1X10piAHfY1M2yU6/pnMT7mTtYYLHX3Qm+7ik="
- secure: "FzPbxzDGQl8JCaPFZh9tXn3uAftachPY1weNHREXIafCvfbLxGNjk3+Ib0J4iWfMXEIoZXtQOFWBZXdJ668TwtEXjb2JfsGXt23P2BUapE56nEVJ6A7JRsbYLbb0MONVkY9la+Kz9ShfDbREehqsWqR7N/qD0UDteY1ohdghzLc="
- JAVA_OPTS="-XX:PermSize=512M -XX:MaxPermSize=1G"
deploy:
- provider: script
skip_cleanup: true
script: ./gradlew artifactoryPublish -PbintrayUser=${BINTRAY_USER} -PbintrayKey=${BINTRAY_KEY}
on:
branch: master
jdk: oraclejdk8
- provider: script
skip_cleanup: true
script: ./gradlew bintrayUpload -PbintrayUser=${BINTRAY_USER} -PbintrayKey=${BINTRAY_KEY}
on:
tags: true
jdk: oraclejdk8