mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-19 15:57:37 +01:00
trying to fix .travis.yml
This commit is contained in:
parent
988a6b5202
commit
392ea470b2
@ -16,12 +16,10 @@ deploy:
|
|||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
repo: ViaVersion/ViaFabric
|
repo: ViaVersion/ViaFabric
|
||||||
|
all_branches: true
|
||||||
|
condition: $TRAVIS_BRANCH =~ ^(master|ver\/.*)$
|
||||||
install: true
|
install: true
|
||||||
script:
|
script:
|
||||||
# Set up git user name and tag this commit
|
# Set up git user name and tag this commit
|
||||||
- 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
|
- 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 clean build
|
- ./gradlew clean build
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- ver\/.*
|
|
||||||
|
Loading…
Reference in New Issue
Block a user