From 810ecadb4ec3e6257d166cfc97ccbe60363e020b Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Fri, 12 Jul 2013 00:44:53 +0300 Subject: [PATCH] don't do travis artifacts stuff for pull req branches --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 12cdfb0a..2e866ba8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,9 +14,9 @@ env: p+q8QzCG1Np9D1Kq9K0miYqHgZxgu4D/4Mwy04bh1UfyoUcDfB1tJmEtsKY/ 8Bl46ZfhxbTG39b6Y315GuU+49QdFMEXhSqx/G7on1xC4aYLXLc= before_script: -- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable &&" +- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable && test ${TRAVIS_PULL_REQUEST} = false &&" - "gem install travis-artifacts" after_success: -- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable &&" +- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable && test ${TRAVIS_PULL_REQUEST} = false &&" - "cd dist && zip -x .DS_Store -r leaflet-${TRAVIS_BRANCH}.zip . &&" - "travis-artifacts upload --path leaflet-${TRAVIS_BRANCH}.zip --target-path build"