-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
48 lines (44 loc) · 1.22 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
42
43
44
45
46
47
48
dist: trusty
sudo: false
language: java
jdk: oraclejdk8
notifications:
email: false
env:
global:
- TERM=dumb
before_install: '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || openssl aes-256-cbc -K $encrypted_9cbabe5daf8e_key -iv $encrypted_9cbabe5daf8e_iv -in keystore.jks.enc -out keystore.jks -d'
install: ./gradlew setupCIWorkspace -S
script: ./gradlew build -S
cache:
directories:
- '$HOME/.m2'
- '$HOME/.gradle'
before_cache:
- rm -f $HOME/.gradle/caches/*/*.lock
branches:
except:
- /^release-.*$/
deploy:
- provider: script
skip_cleanup: true
script: ./gradlew curseforge -S
on:
all_branches: true
repo: CyclopsMC/FluidConverters
tags: true
- provider: releases
skip_cleanup: true
api_key:
secure: bB1biR3q8ZgB9RrgHx1s5m6yYh1LcS59GL50CU21FjaJB6TZo6ox7pRRM1AN07xhU0LmOZ0XBGuwNF7fGwp0Xlx0YLq9200GqMnwN88HNeYCkhcbNtCqqZUQznFcRMpL/b51oO8LFVVSrSU1Rtlw+epGKuodZ3yutkjlA4mYhBs=
on:
all_branches: true
repo: CyclopsMC/FluidConverters
tags: true
- provider: script
skip_cleanup: true
script: ./gradlew uploadArchives -S
on:
all_branches: true
repo: CyclopsMC/FluidConverters
condition: "$TRAVIS_BRANCH =~ ^(master|release).*$"