Adding Action for publishing to PYPI.
[PYPOWER.git] / .travis.yml
blobc181a62939022074399fb8b60883ee172bcd0689
1 language: python
2 python:
3 - '2.7'
4 - '3.7'
5 - '3.8'
6 - '3.9'
7 install:
8 - pip install tox-travis
9 - python setup.py install
10 script: tox
11 deploy:
12   provider: pypi
13   user: rwl
14   password:
15     secure: "YZjUo3RHhyq9rsg+8NGP2Bn1+J5kQxXfuO7G2ACwvAeabdHqhzTE0eDOObaeS+vnoUHxrRuJWFB1HvDH7BlegBuTS0l+s8lssfFNrasnMlZ3xpiGNGbcgrftxYnaPE9BSN8Ge7w8oa1QnkfqcPuYN2BoSYXv1LitCNi/bqf0JcA="
16   on:
17     tags: true
18     repo: rwl/PYPOWER
19     branch: master
20     python: '3.9'