From f66522a57b1bae5af8f4ff160c05ad20d8b74b2c Mon Sep 17 00:00:00 2001 From: Uriah Shaul Mandel Date: Sat, 17 Aug 2019 14:19:40 +0300 Subject: [PATCH] Disabled pushing screenshots to BaldPhoneScreenhots from PRs --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3e54737e..9f9839be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,7 +45,7 @@ script: - adb pull /sdcard/Pictures/screenshots /home/travis/BaldPhoneScreenshots/screenshots - git add --all :/ - git commit -am "committest1" - - git push https://UriahShaulMandel:${GITHUB_API_KEY}@${GH_REF} HEAD:master + - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then git push https://UriahShaulMandel:${GITHUB_API_KEY}@${GH_REF} HEAD:master; fi' before_install: - echo yes | android update sdk --all --filter build-tools-28.0.3 --no-ui --force