ViaFabric/.travis.yml

26 lines
1.5 KiB
YAML
Raw Normal View History

2018-08-17 21:36:40 +02:00
language: java
# Gradle seems to not use latest builds from repo.viaversion.com
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:
secure: rOLhLsO6+EYzoy1e+SWSdIwNZ3vRTWTDCw4L98eINA+ZqUN4tGEjT6CUaTHz2z3iDhOdtXf2DoP2AlTfXTYefDy+wbIF4BsW0qN8PEV3ALKClmyGzd3As4ZYLUfKl/m8rHAzcvysFESmkCTxAZEFSMuUJe/4ovolF9GgCTL50g3Wz83eIO52DpfyB6vXFOj3OoSMLjPDhI1TV1M2jLuKKf5afgKCYX1UWZ0OFxEuwzEgV9XEpLn/2yLR3NEH0FR/6WMUui5f2+O5MJS2aj6n8OTdW98+EOA0bw87UA71atMwrPHqvUthbqDpyk+mcyx9IVdnvQT7R3UvZ4neFImqBkKfc+SVCqxXl6tqwnWedaBsotE518/DV1qkC7ATMWkIFyzjP3UIyM4iQMZVIy2X9tRrcH0aMCPBVhl0/tjQMnhqpzUNJOUb2RZLJ98LpDkEm2X49/Tl0M46swvlnZJh3GfsQ/1l2Bi1XNTQOOEQmXNUMZfF/GUWEX2T6eCGwseKPqCM4Wp96jhAsNN6klJk61yOZEmdWnvvaO7ucCG6lgKQeQ2efme3RBuXuCWQgzZ9xIiclsvRxqyN6zvgxpI+auae048E8F70UBAmdq4eNhpT1NiSEK4rTMHQniPXV+l5pYXeZv8FUbFm+XmfISqjT6FG1KJTbCXbK9I2eCsUj1g=
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:39:13 +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
- ./gradlew