forked from vowstar/kflash.py
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
27 lines (24 loc) · 1.29 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: python
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
install: "pip install pylint twine"
script:
- python setup.py install
- pylint --enable=E --disable=W,R,C *.py
- python setup.py sdist
- python setup.py bdist
- if [ $(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') == 2.7 ]; then twine check dist/* ; fi
- if [ $(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') == 3.9 ]; then twine check dist/* ; fi
deploy:
provider: pypi
username: __token__
password:
secure: laaMcNt8I3ozqiu+IBU7bjT1zPF/ON5FSvuxokurQLTEkzuIlwG2U1vNsCwg2IjVmm6/MzkVv+ywhoSRO0fHPj4aivynfWdqjukaDAecInL6UNjCcN0eUZ0TVNv/NyZrBapebKvfDDTq9O3JeHt5ofz4XIVeDXS33AsjB9oZKI7Qi1ZwDR409ONsQobwj97TtIQ3PAtFYJ/rAHqyQ6CK6ftp3Cvky8huywrdJzU2DxZCmDcGsSIZcfnDd3yUctcY5r9JS1GpWfcI1pOp39zL/pitkJTO9YWd92qn4btIymT+t/P9c3IRH2KUhjPMGJi13ZR8hYD8btLDLNysLAac9AfI+jfEibP5aNoa43vlAy4ERqZgZeOBafBZGz/g4B19AhSicvQ4zodDTLMRXpYf0rOjvfQCpLrcqhjyyeaQBrfuMC4WA6gvQaOFIzaUr0SF88HTpYvYNFWe3a3CoBajQH18TfV3vFazRCVejQ2EmWOQscViZoT/BkSCHXv5vbZ0//4j9tN/aQ+h4I1+eAvJ2L3x1GwW7or9HxTCkmuepmO4gCVFblg2qIy7DH4Y2ZSuyFDY/kdtqBXiAjZf6Vv9dSeKJczrVgi6eIhvs0IrEptl9iLV80UH8Ymj0/0pCCLReKapHLm+pswBd+XLRjZ34ChCFhWoOVNoRfUQJT7kTHQ=
on:
tags: true
distributions: sdist bdist_wheel
skip_existing: true