archive dist in travis without root dir

This commit is contained in:
Vladimir Agafonkin 2013-07-10 16:24:06 +03:00
parent d888a2e49e
commit 53d9375284

View File

@ -17,5 +17,5 @@ before_script:
- "gem install travis-artifacts"
after_success:
- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable &&"
- "zip -r ${TRAVIS_BRANCH}.zip dist &&"
- "cd dist && zip -X -r ${TRAVIS_BRANCH}.zip . &&"
- "travis-artifacts upload --path ${TRAVIS_BRANCH}.zip --target-path build"