-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (32 loc) · 1.63 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
28
29
30
31
32
33
34
35
36
# Config file for automatic testing at travis-ci.com
language: python
python:
- 3.9
- 3.8
- 3.7
- 3.6
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
#install: pip install -U requests
# Command to run tests, e.g. python setup.py test
script:
- if [[ -n "$TOX_ENV" ]]; then tox -e $TOX_ENV -- $TOX_ARGS; fi
- if [[ -n "$BUILD_WHEEL" ]]; then cibuildwheel --output-dir dist && ls -l dist; fi
- if [[ -n "$BUILD_SDIST" ]]; then python setup.py check sdist && ls -l dist; fi
# Assuming you have installed the travis-ci CLI tool, after you
# create the Github repo and add it to Travis, run the
# following command to finish PyPI deployment setup:
# $ travis encrypt --add deploy.password
deploy:
skip_cleanup: true
provider: pypi
distributions: sdist bdist_wheel
user: inaruslynx
password: $PyPI_pass
#secure: "PumPH4MOS96Wqqd28j4PAwXsQ0fz77pjQMVWWjVdNjsb5WcCl9xwkoUxWqQWAfwnMJFnXaR0+Q7vNi+EcfiAuWuWXW/55skXrvmimZqRiWTLDQegVUFJ7bID71GRnIkNxpW0h7TBQ0rkjyQOuGDPHb5VQ1sb9+3tT1oJEwqgtxTakm3407cAzzT25WzuETop8xeQ8zYrDZzPxN9mBidhIDL7MxNQH4zbW3DyORyRUcJLx8QXH2EOGe1rbbvMFr1VWiEOUvmLlJg/qG/7O1oaRmlOJuQtJplDD1tGu0G4aS1gd14QYLPSN8plH/xIVGBeiMHA/tLdIzS6Z9DMVgYKKu7ljZvKcT2en8PguCHu9F9GxucatCA9BcF1HCPOY5E2eVkhtL/YzpsxNp/fpq3AU+kRMntAtm4795F+F10pFPkVEg70xsfeKUlCmbrMo1oVxZ05KTWw72pPjOCBepTFKdS3YTvsTnyq/jeu/3YaW/ySmqtYGmWFzN7OdZaxdeFjP9J1JHYkz3/mu8BeeiaP0GtblfujHM5DxCZ/DjlrZq95onvODEqSQssubwrR4Il7RLbuKDF9KgM9GFpdR3XrfMDECz/mF//HE0dLQFdS9kY+rwvUMTBXwNkP9OqTeqxFR6L1LKyr8afbEuPeatG4VA7kH9XWa68zqJKky7Ylf6U="
on:
tags: true
repo: Inaruslynx/SmtApi
python: 3.9
only:
- main
- ^v.......