From 392ea470b2bae28ed0179e318d752c2be8483bcf Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Tue, 14 Apr 2020 22:54:43 -0300 Subject: [PATCH] trying to fix .travis.yml --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 77af057..28fe2f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,12 +16,10 @@ deploy: skip_cleanup: true on: repo: ViaVersion/ViaFabric + all_branches: true + condition: $TRAVIS_BRANCH =~ ^(master|ver\/.*)$ install: true script: # 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 - ./gradlew clean build -branches: - only: - - master - - ver\/.*