From fdd40b251986538ea732e2efda6cbcd7aed8d2e8 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Fri, 14 Oct 2016 11:34:08 +0200 Subject: [PATCH] Try syncing the repo in another way. --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0e322b3ab8..fb8e752a7e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -236,11 +236,13 @@ before_script: echo "Syncing repository." git remote add alt http://root.cern.ch/git/cling.git git pull alt master - git push https://$OAUTH_TOKEN@github.com/${TRAVIS_REPO_SLUG} master + git remote remove origin + git remote add origin https://$OAUTH_TOKEN@github.com/${TRAVIS_REPO_SLUG} + git push --verbose origin master # Move the tag to newest master git tag --force cling-nightlies HEAD - git push --force https://$OAUTH_TOKEN@github.com/${TRAVIS_REPO_SLUG} cling-nightlies + git push --verbose --force origin cling-nightlies fi script: