ViaFabric/.travis.yml

25 lines
1.4 KiB
YAML
Raw Normal View History

2018-08-17 21:36:40 +02:00
language: java
2020-04-09 00:41:59 +02:00
#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/"
2019-03-26 20:05:31 +01:00
deploy:
2020-07-04 22:23:21 +02:00
edge: true
2019-03-26 20:05:31 +01:00
provider: releases
token:
2019-03-26 20:05:31 +01:00
secure: B+xrpk79kvRF5AhNqHKlsUd1vloo4xe1oZjzsmsm67rrd2RS9iBgpRBC5YfCeYmxj5HviBjQx3Qzdu/zzaYP9ry5IT17t5g3OcPpP9GynyinIlfAN6TUlk9u0D7ojSYV6JJjD7Go8K9+U5E+jEn4cSIVQ4kFWH62lDyjjNQqZitd4p+/J9M4p5sQ9BiC2oUIFVMrOXZs5v0tqVSCWGp/s2OkX+ie/RYm1ULW4vvpwTlK2+fklOfq2qyityPtV1v6DQoOMJ4GdouBVGtva7hdnuHtCCqVvwTnpgmItLE68uCczgR4gQ5SIeCo7Vppda6jSseA5DDku1YwUUTRm1VOENhmv3iln9sDRiZbX17d86689FslMAltSggmg4urEPmjzlP55NCebvEsQoKp8x3XuViUOUqkQS+e/IGkK1F4oeh4YB7Mz6LyGM3TOv2gfE+nbQ4xU7s1nELoqdwUp2HshN4SFxurLtKDfC2/ZHRwtwXhGbEQgK0TSRSohxoE8a1XZvXLJ+ddc8ZZX8LqBiKgXkkEyvpAehAqK+lWsqIBJp+828CMeUet9sYNJ9QkAy3Lz8ecwuzCXEuacTW+f6XW1rBr2wPSXOJQt45xt4IfW1so7G1V5QSmcExU3uKKxkgekOnhZjT8LTmUpaSBW1Nu2a5kKuHnHvs0uDexhoJ/cEs=
2019-03-26 20:15:51 +01:00
file_glob: true
2019-03-26 20:24:32 +01:00
file: build/libs/*
2019-03-26 20:05:31 +01:00
on:
repo: ViaVersion/ViaFabric
2020-04-15 03:54:43 +02:00
all_branches: true
2020-07-12 21:25:02 +02:00
condition: $TRAVIS_BRANCH =~ ^(mc\-.*)$
2019-04-01 21:49:13 +02:00
install: true
script:
2019-04-06 18:31:53 +02:00
# Set up git user name and tag this commit
2019-10-25 00:40:06 +02:00
- if [ -z $TRAVIS_TAG ] && [ -z $(git tag -l --points-at HEAD) ]; then git config --local user.name "creeper12313321"; git config --local user.email "7974274+creeper123123321@users.noreply.github.com"; export TRAVIS_TAG=build-$TRAVIS_JOB_NUMBER; git tag $TRAVIS_TAG; fi
2019-04-01 21:49:13 +02:00
- ./gradlew clean build