Skip to content
This repository was archived by the owner on Jun 28, 2023. It is now read-only.

Commit 242d67e

Browse files
committed
Add auto deploy to GitHub with Travis CI
1 parent dda6371 commit 242d67e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.travis.yml

+22
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,27 @@ script:
2929
after_success:
3030
- coveralls
3131

32+
deploy:
33+
provider: releases
34+
# TODO Regenerate this api_key for your project, this one won't work for you. Here's how:
35+
# - Go to 'https://github.com/settings/tokens/new' and generate a Token with only the
36+
# `public_repo` scope enabled
37+
# - Call `travis encrypt $github_token` where $github_token is the token you got in the previous
38+
# step and `travis` is the official Travis CI gem (see https://rubygems.org/gems/travis/)
39+
# - Enter the "encrypted value" below
40+
api_key:
41+
secure: 28IOmyNkPlSxBN+jBkpWGlrAbB0/2xKkI0RV8K8zwJ2DGyLGYYucpc37Xvu1OFYdfK2yv5PZ1uUuiqXXHHh4/2c8KTA6DPj8WlTTrxWD7CVN42BLUjATqs89vPQJwZPmbEzRykAPReneBvVuXsQonyFY/KToK5CsQKUnr/lp1i1y3rtmAMc3kDG7U+qf1GYu8pNReVmgaTtGJYzQdg9ZLAu0K8UJ9RLrFvlzMKNgVHh1bHugIamnMjR6q0jjJ2uBYmLbK2nu1jMdLOyFb1u4oPRmu4Wv212lxOSIomlKXqL3FJABKJ9E5L4lbh9IVh3TjlR46i3GRKvcmrnsJ8sv9OFYe0YotCnFu47GGrRTQFite7JRVSWt7Xb8Lk1I9i8NIdbYwwU6GXDw5O9qTQlwX0wZCtgj+A/ag6bxNFedKU3e4dgAJ2JiiSN2EzNhOulp8TsTc6pwK/1bS/B2CZ8u0raFdy7LOoBxDPDbzhZn8QptL18TzlU3y/BnPQkjmOKBYwT8ZNAKFcV5lGKx+bod07gkKzLmYWzfETdjq44hE/kKNarL0uS8Cx3WUE4zavNrFGIWxTZOdLDX7IhQFi8LG38np3DbpWWi9jS7F+P/pn9bZErCbO8LDXM42VB15Tx+P0cHTMVyTbZfzNfkOZNWizkJ8Aeq1VCgXP7OEAla/so=
42+
file_glob: true
43+
file: ${PROJECT_NAME}-${TRAVIS_TAG}-${TARGET}.*
44+
# don't delete the artifacts from previous phases
45+
skip_cleanup: true
46+
# deploy when a new tag is pushed
47+
on:
48+
# channel to use to produce the release artifacts
49+
# NOTE make sure you only release *once* per target
50+
# TODO you may want to pick a different channel
51+
condition: $TRAVIS_PYTHON_VERSION = 3.5
52+
tags: true
53+
3254
notifications:
3355
email: false

0 commit comments

Comments
 (0)