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

Commit

Permalink
fix travis build uploads, ref travis-ci/travis-artifacts#23
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Mar 20, 2014
1 parent 29678e4 commit 53cc583
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ before_script: >
test ${TRAVIS_BRANCH} = master ||
test ${TRAVIS_BRANCH} = stable &&
test ${TRAVIS_PULL_REQUEST} = false &&
echo awesome &&
gem install travis-artifacts || true
gem install --no-rdoc --no-ri --version 0.8.9 faraday &&
gem install --no-rdoc --no-ri travis-artifacts || true
after_success: >
test ${TRAVIS_BRANCH} = master ||
test ${TRAVIS_BRANCH} = stable &&
echo awesome &&
test ${TRAVIS_PULL_REQUEST} = false &&
echo awesome!!! &&
travis-artifacts upload --path dist --target-path build/${TRAVIS_BRANCH} &&
cd dist && zip -x .DS_Store -r leaflet-${TRAVIS_BRANCH}.zip . &&
travis-artifacts upload --path leaflet-${TRAVIS_BRANCH}.zip --target-path build ||
Expand Down

0 comments on commit 53cc583

Please sign in to comment.