fix travis build uploads, ref travis-ci/travis-artifacts#23
This commit is contained in:
parent
29678e4f30
commit
53cc583c7a
@ -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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user