Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

Commit

Permalink
don't do travis artifacts stuff for pull req branches
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Jul 11, 2013
1 parent 0de87fa commit 810ecad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 810ecad

Please sign in to comment.