Skip to content

Commit

Permalink
Added autodeploy to travis for pypi (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Bäuerle authored Oct 24, 2021
1 parent e228b8f commit 01db9c0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
language: python
python: '3.8'

python: "3.8"
install:
- pip install -r requirements.txt
scripts:
- pylint luna
deploy:
provider: pypi
username: "__token__"
password:
secure: qw3pIHSqqfxgsCer/ufOn0u7X/vVznNiFJUq++SwJzBdUu+LtjhxscvBLVZ2GoaKC3k/qrwdXUZCzcAIAWlQlgbD8d+OCXla+0AyIKjpZUkPGZdjPQW8RGQlTatM1jKJRt4DtpSJqoBJi/Qx30Cjea+idRcqnmZtIV+BHC8VgkFqmxX34D9T4pJvR/SmeJXMf+8yKaQvwXcdiSVuHbUtBXNs/3jz/RiO4nMJfRbqGlrGfZeQUCSaLYueN0HQ+K1UODtX3tlX2LiaZldUA9w5E2vlEa/ijqyZdfXsI+MRRGSAVeogARvinkzoWWuNaOHGfH6nH1St2m3+a78twFcGBBlmcx8MDU0j2PzpCZx7RQXUFXCpOb79y5ibp2OrT5Fo5b7gtdcmx4baXzxVpHPWYNiSM4S6YfwSm3bNcJveoLYRIqzBeY1CVmrPNC1lh//6ThqpXsGk7rkh4ZOCTtdkdkMPiEr2fe53ZazVkgjykGd+qzJlmAAa/VhJ+UEBRiskGc6wIF+quoKrq6Jt7uoeEL03szwmPT9iJxcEU7eCoa6od1/nVBq/xYq2kwrhcnWumXYLAvexsAC0K8S25UhJMQxj+ylR89cZk4OAY3etnzFURb7JjQHKiZyn0H88/tFfCzikggB4jVFreMhrDudMIUCG6UJPdVP1PJm+dtNwmsk=
on:
tags: true
branch: master
14 changes: 10 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@ To contribute your changes, you need to apply them to a different branch (on a f
We will review these requests as fast as we can to get your changes in.
Please make sure your changes pass our tests (they will be run automatically for every PR).

### Docs

To also deploy the documentation if something has changed there, use the [update script](./pages-publish.sh).

### Open Issues

For contribution opportunities, see our [Issues](https://github.com/Sparkier/luna/issues).
To get started, look for ones with the tag **good first issue**.

### Releasing

To create a new release of Luna, update the verion number in [setup.cfg](./setup.cfg) and tag your release accordingly with `git tag <version_number>`.
Make sure to push your tag with `git push --tags`.
Once your commit is merged, it will automatically be deployed.

### Docs

To also deploy the documentation if something has changed there, use the [update script](./pages-publish.sh).
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ pylint
sphinx
furo
m2r2
build
twine

0 comments on commit 01db9c0

Please sign in to comment.