mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 12:37:59 +01:00
Tweaks to travis
This commit is contained in:
parent
dc38240b10
commit
78b1bfb59d
1 changed files with 22 additions and 5 deletions
21
.travis.yml
21
.travis.yml
|
@ -1,8 +1,25 @@
|
||||||
language: java
|
language: java
|
||||||
jdk:
|
jdk:
|
||||||
- openjdk8
|
- openjdk8
|
||||||
deploy:
|
|
||||||
provider: script
|
before_cache:
|
||||||
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
||||||
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.gradle/caches/
|
||||||
|
- $HOME/.gradle/wrapper/
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
- stage: check
|
||||||
|
script: ./gradlew check
|
||||||
|
- stage: publish
|
||||||
script: ./gradlew build publish
|
script: ./gradlew build publish
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- check
|
||||||
|
- name: publish
|
||||||
|
if: env(ACCESS_KEY)
|
||||||
|
|
Loading…
Reference in a new issue