Skip to content

Commit fa89c19

Browse files
anshikgPatMyron
andauthored
Automatic release to PyPI when tags are released (#541)
* Automatic release to PyPI when tags are released Co-authored-by: Pat Myron <[email protected]>
1 parent a7fece1 commit fa89c19

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.travis.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
dist: bionic
22
language: python
3+
stages:
4+
- Tests
5+
- Deploy
36
cache:
47
- pip
58
env:
@@ -19,6 +22,19 @@ script:
1922

2023
jobs:
2124
include:
22-
- python: "3.6"
25+
- stage: Tests
26+
python: "3.6"
2327
- python: "3.7"
2428
- python: "3.8"
29+
- stage: Deploy
30+
script: skip
31+
python: 3.8
32+
deploy:
33+
provider: pypi
34+
user: aws-cloudformation-developers
35+
password:
36+
secure: ACHz2AGFnR0QWjwRzO3mpO0lnM/WTEQVtY0p8cbf3CrbwJW/DzqAD/IwFWC4dK0CND2VObYuQb0n8mLQKw5k9Bx464NThOu4CEZhRj7oUvMLXAgTAMOsi8GDMMRv7iyBeEvOs5D2cSeLtZEL2sPd3hXcsEG6Mb03DWG66CM3K1/MHmsnKI1dlqgvzzJb2i6dmM2ZAxW90/fAW9Qc4qLLLg93K3vvWm4y+XdOBukf554vPZxRAcEJ4ywjf/e3J1oGDDqs1uWgO4klrZJOjnxaeM+cL1IRCldq1ITQgyczoqBH8eM6QaT0cccs8GiM4z+Le15rwvahm2JV418XbsGrmL39gabLwZarKaVXwlEmLq0LVs0uXoi4RzYfQTULh0vlUprm/4+zhKLEg2YC1fy0dz2V7FB4n2RrC7T72sjbjXtWgTCfw/V+G6DJ2omvTSUsD9oG6L9L0FZ3f0sQV4uvQJ0tzyij+EsbZJ6FFPe71VPCXvTUsFHLN3xRkTSSR2OJg7gO6MmUhvWjewUo+QX9LY6EszU5POZ4Yg4jfeftpJDXUN/dX2pUSr6NuWNvYjf9J5OYvfTtOV6eD4a+2GWLRs7F1pKXVo5K4VCFhIe3qwZh4IF8S5nFUyUVq7WG/CLAh0d6oRIuetKMTzNNrTh1j4vpEVbVofOTDi7BmkIICCo=
37+
on:
38+
tags: true
39+
distributions: sdist bdist_wheel
40+
skip_existing: true

0 commit comments

Comments
 (0)