forked from CyclopsMC/IntegratedDynamics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (37 loc) · 1.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
35
36
37
38
39
40
language: java
jdk: openjdk7
notifications:
email: false
slack:
secure: cAZP5ZuJhlAfexOaPcd/zk6i0jndjPVt4O7XfwFoZvO0LQ/QAVkk4BxvBMpL7HINfiD1oeye5VAGyH9xrfoO/I21uU01yrPUyVxRS3hDHttELbeDKYOCT8V1637EKO2udo3m+HzoXqOC6M8Hs4W62VEweKpNPbcrIcHjpwhHZAc=
env:
global:
- TERM=dumb
install: ./gradlew setupCIWorkspace -S
script: ./gradlew build -S
cache:
directories:
- '$HOME/.m2'
- '$HOME/.gradle'
before_cache:
- rm -f $HOME/.gradle/caches/*/*.lock
deploy:
- provider: script
script: ./gradlew curseforge -S
on:
all_branches: true
repo: CyclopsMC/IntegratedDynamics
tags: true
- provider: releases
api_key:
secure: Aq1SUNmakwKghY9aqwJSDR4n2u6zAUe72HdJVazTK4cM14IcafeQp33TRsToyheE45Bmn8IiXwgKxn1wYgfCymRwRCLMNCmiu91pT1lDUzs8oIifwdqd/Ai6SuJekSp0VblZUw9igneMbVgIGmCxMVdjSLmWu4Bvs8sDNTOUyY4=
on:
all_branches: true
repo: CyclopsMC/IntegratedDynamics
tags: true
- provider: script
script: ./gradlew uploadArchives -S
on:
all_branches: true
repo: CyclopsMC/IntegratedDynamics
condition: $TRAVIS_BRANCH =~ ^(master|release).*$