forked from dita-ot/dita-ot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 1.33 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
sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- JAVA_OPTS="-Xmx1024M"
before_script:
- git submodule update --init --recursive
- "./gradlew"
script:
- "./gradlew check integrationTest --info --stacktrace --no-daemon"
- "./gradlew dist --info --stacktrace --no-daemon -Pcommit=${TRAVIS_COMMIT} -Ptag=${TRAVIS_TAG}"
notifications:
slack:
secure: IAA4d9O2Dw1hkpY9cwxJz++VMjkgbV3EuaS09DGFujvHl2eQtpKTloE0/CDF+NZA4tcbH1dNqsGw3ETLmrqA581CLpmiiq3LG02cDMoSXZeOKB/9vo6tvLFg0UMawzo+FomJS/hvCmS5KirrFqZQKE5g6SCC05UBM5nwI5d0vOw=
deploy:
- provider: s3
access_key_id: AKIAJUF6ATK6SJEUR4XA
secret_access_key:
secure: "H1+xHIRiO67xYudQmcvqD58w9ux79fLwKrOh0nCCi2N8fKyeT43L1/r4/F6oVSKoeT9MVgu0bj3XsmErqOw03h47wYvPKGcGDjY4KHj/Ptr9MRTkVkJ43yvVzWvnZWpsl4KlBsUHJGm5Tkb38aQOH9DbOgUiRSwcOused0GoBhQ="
region: eu-west-1
bucket: dita-ot
skip_cleanup: true
local-dir: build/distributions
acl: public_read
on:
repo: dita-ot/dita-ot
branch: develop
- provider: releases
api_key:
secure: d2vveLfRh+KvjkuJtahHB4buR7qpUXZ7ccrmgwALVboh7BhMgZgdX/puHiEzsiS4CX0xNcV2PpdF6VBGsbMg8TAFn5ap5he7y5MnC5Rt9iaJQtMKuoV3GQ1IoZZOUCRswgpjyLOSxuP3HDgyNn44i9eYT5I9N0wkxQzaleho8Og=
skip_cleanup: true
file_glob: true
file: "build/distributions/dita-ot-*.zip"
on:
tags: true
repo: dita-ot/dita-ot