-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (27 loc) · 3.07 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
language: groovy
cache:
directories:
- $HOME/.gradle/caches/
env:
global:
- secure: "rSCGQaciH762l0BOwO2gMAo/Q83K6XOENZxgU7k95f4hVeV0JirkWROddp6pUqC3uxA1GxtkBCvMDdVpYzxgnYsJ6KIGvUwwUY4OqWw/CsaYWRCF9rkEkaiH3qSMvyTV5fN5QR5eL7XChSE/ZQ2AHfvpqROEXPWf/cZlGNfJNB4GqPYsr20x5FpuTF3edZW9if//9NmMDMJj8i9SKffslPqmdg4vIe3iF89EThUDvmgOkQh+bLyn6OGfrHqPZfJaA05LaSoa6g8bQXKIvO1MkujgQ4u++8upVaFf1RWhOZyBIocYt7zS61nrfvrceVG1Fw+3X0MjKneRcaAMqsnLsP73ul42N+OqmnpLOdcTBXSog2LTlE9a5oFnoScjSLdGKZ+XWjaS8nR7TI67PrqxHGdAuYFE+rL7cIzbeBCJIsz2MvRj+fmEEBvyx/RT5bgzDALmzCmwvE2KTuFVpp4gTbakyMau1bB0wqAusedT7GlGUb5YiInKbWNKyaOy2XqFqDONVEv28sLR5RbIkX/I+h6K+g0/VczQChchm+WWK081+pk3xJAUQ/TdRIdHC1+wcJWCkLMfUF4zWFjy/PeeZg/IByjjSmCDgUnx0MV8P0AC5bp00LCSkxpOIUIyly/5KMQIxKXh9qe6n8XM5aNTPm9tpswpv5wOPbWSgtWi4r8="
- secure: "il06G5cX9ToiTdnByomujcSNgJp6+d4JkEiBoHPQj/+pn3LsI+c4kpKzvEB9zf6sSbfXHWCeMC7N1MxGRr5vG/BVySh5JhryuB4rsb1p/zKvaVasZ1+sYckPlfzsn6q0TnLtNoAaPXDRcVFcZPOQPogWXwOZ6diNNEPbL3onbbm35mnZu0WHKZbygfCl8g69+AIGOGwQ1rh4/sc3kKTwiW94+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Dk48gK9+56jX+VhdlZFG8miLqVPhG8r0+bl27m+P9p4e3fmkhthW62JlhGjf5Og+rZNyt+AQ="
jdk:
- openjdk11
# The Github user *tt-ci* is the user who will do the git commits initiated by the Gradle Release Plugin.
before_install:
- echo -e "machine github.com\n login $TT_CI_TOKEN" > ~/.netrc
# Travis works on detached head. In order to push commits and tags the Gradle Release Plugin needs to
# know the current branch as otherwise it will fail.
script:
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"
- git checkout $TRAVIS_BRANCH
- ./gradlew build
deploy:
provider: script
script: ./gradlew release -Prelease.preCommitText='[skip travis]' -Prelease.useAutomaticVersion=true -Pgradle.publish.key='$GRADLE_PUBLISH_KEY' -Pgradle.publish.secret='$GRADLE_PUBLISH_SECRET'
# This service will post failing tests directly in PRs.
notifications:
webhooks: https://www.travisbuddy.com/