Skip to content

Commit

Permalink
automate PyPI release on travis
Browse files Browse the repository at this point in the history
fix #21
  • Loading branch information
casperdcl committed Mar 16, 2019
1 parent 12945c1 commit 55be91e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Binary file added .casperdcl.gpg.enc
Binary file not shown.
14 changes: 14 additions & 0 deletions .travis.yml
Expand Up @@ -15,6 +15,20 @@ matrix:
env: TOXENV=py37
dist: xenial
sudo: true # required for py37
after_success:
- pip install .[dev]
- make build
- openssl aes-256-cbc -K $encrypted_88867ca921c3_key
-iv $encrypted_88867ca921c3_iv -in .casperdcl.gpg.enc
-out .casperdcl.gpg -d
- gpg --import .casperdcl.gpg
- rm .casperdcl.gpg
deploy:
- provider: script
script: twine upload -s -i casper.dcl@physics.org dist/git-fame-*
skip_cleanup: true
on:
tags: true
- python: pypy2.7-5.10.0
env: TOXENV=pypy
- python: pypy3.5-5.10.0
Expand Down

0 comments on commit 55be91e

Please sign in to comment.