This repository was archived by the owner on Jun 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,20 @@ matrix:
1717 - python : pypy3
1818
1919install :
20- - sh ci/install.sh
20+ - bash ci/install.sh
2121
2222script :
23- - sh ci/script.sh
23+ - bash ci/script.sh
2424
2525after_success :
26- - sh ci/after_success.sh
26+ - bash ci/after_success.sh
27+
28+ before_deploy :
29+ - bash ci/before_deploy.sh
2730
2831deploy :
2932 - provider : releases
33+ overwrite : true
3034 # TODO Regenerate this api_key for your project, this one won't work for you. Here's how:
3135 # - Go to 'https://github.com/settings/tokens/new' and generate a Token with only the
3236 # `public_repo` scope enabled
@@ -37,8 +41,7 @@ deploy:
3741 secure : 28IOmyNkPlSxBN+jBkpWGlrAbB0/2xKkI0RV8K8zwJ2DGyLGYYucpc37Xvu1OFYdfK2yv5PZ1uUuiqXXHHh4/2c8KTA6DPj8WlTTrxWD7CVN42BLUjATqs89vPQJwZPmbEzRykAPReneBvVuXsQonyFY/KToK5CsQKUnr/lp1i1y3rtmAMc3kDG7U+qf1GYu8pNReVmgaTtGJYzQdg9ZLAu0K8UJ9RLrFvlzMKNgVHh1bHugIamnMjR6q0jjJ2uBYmLbK2nu1jMdLOyFb1u4oPRmu4Wv212lxOSIomlKXqL3FJABKJ9E5L4lbh9IVh3TjlR46i3GRKvcmrnsJ8sv9OFYe0YotCnFu47GGrRTQFite7JRVSWt7Xb8Lk1I9i8NIdbYwwU6GXDw5O9qTQlwX0wZCtgj+A/ag6bxNFedKU3e4dgAJ2JiiSN2EzNhOulp8TsTc6pwK/1bS/B2CZ8u0raFdy7LOoBxDPDbzhZn8QptL18TzlU3y/BnPQkjmOKBYwT8ZNAKFcV5lGKx+bod07gkKzLmYWzfETdjq44hE/kKNarL0uS8Cx3WUE4zavNrFGIWxTZOdLDX7IhQFi8LG38np3DbpWWi9jS7F+P/pn9bZErCbO8LDXM42VB15Tx+P0cHTMVyTbZfzNfkOZNWizkJ8Aeq1VCgXP7OEAla/so=
3842 file_glob : true
3943 file :
40- - dist/*.whl
41- - dist/*${TRAVIS_TAG}.tar.gz
44+ - dist/*
4245 # don't delete the artifacts from previous phases
4346 skip_cleanup : true
4447 # deploy when a new tag is pushed
Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ def get_repo_url():
7575
7676def commit_to_github ():
7777 run_cmd ('pip install -U ghp-import' )
78+ run_cmd ('git config --global user.name "Travis"' )
79+ run_cmd (
'git config --global user.email [email protected] ' )
7880 msg = get_commit_message ().decode ()
7981 cmd = 'ghp-import -n -r origin -b gh-pages -m "{}" {}' .format (msg ,
8082 HTML_DIR )
Original file line number Diff line number Diff line change 1+ python setup.py sdist
2+ python setup.py bdist_wheel
You can’t perform that action at this time.
0 commit comments