[travis] only make dist in before_deploy stage; use 'file_glob' to get files for Github Releases

This commit is contained in:
Cosimo Lupo 2016-11-02 09:30:18 +00:00
parent 904b1c5942
commit 2611ec2cff
No known key found for this signature in database
GPG Key ID: B61AAAD0B53A6419
2 changed files with 3 additions and 7 deletions

View File

@ -32,11 +32,8 @@ install:
script:
- ./.travis/run.sh
after_success:
- ./.travis/after_success.sh
before_deploy:
- if [[ $BUILD_DIST == true ]]; then export ZIP=$(ls dist/fonttools*.zip); export WHL=$(ls dist/fonttools*.whl); fi
- ./.travis/before_deploy.sh
notifications:
irc: "irc.freenode.org##fonts"
@ -47,10 +44,9 @@ deploy:
- provider: releases
api_key:
secure: KEcWhJxMcnKay7wmWJCpg2W5GWHTQ+LaRbqGM11IKGcQuEOFxWuG7W1xjGpVdKPj/MQ+cG0b9hGUFpls1hwseOA1HANMv4xjCgYkuvT1OdpX/KOcZ7gfe/qaovzVxHyP9xwohnHSJMb790t37fmDfFUSROx3iEexIX09LLoDjO8=
file:
- "${ZIP}"
- "${WHL}"
skip_cleanup: true
file_glob: true
file: "dist/*"
on:
tags: true
repo: fonttools/fonttools