Skip to content

Commit f53d6ae

Browse files
committed
ci: automatic deployment on PyPi
1 parent 8a3bd55 commit f53d6ae

File tree

1 file changed

+18
-30
lines changed

1 file changed

+18
-30
lines changed

.travis.yml

Lines changed: 18 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,25 @@
1-
# Config file for automatic testing at travis-ci.com
2-
31
language: python
42
os: linux
53
dist: focal
64
python:
7-
- 3.9
8-
- 3.8
9-
- 3.7
10-
- 3.6
11-
12-
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
5+
- 3.9
6+
- 3.8
7+
- 3.7
8+
- 3.6
139
install:
14-
- pip install -U tox-travis
15-
- pip install codecov
16-
17-
# Command to run tests, e.g. python setup.py test
10+
- pip install -U tox-travis
11+
- pip install codecov
1812
script: tox
19-
2013
after_success:
21-
- codecov
22-
23-
# Assuming you have installed the travis-ci CLI tool, after you
24-
# create the Github repo and add it to Travis, run the
25-
# following command to finish PyPI deployment setup:
26-
# $ travis encrypt --add deploy.password
27-
# deploy:
28-
# provider: pypi
29-
# distributions: sdist bdist_wheel
30-
# user: __token__
31-
# password:
32-
# secure: PLEASE_REPLACE_ME
33-
# on:
34-
# tags: true
35-
# repo: engineervix/readme_coverage_badger
36-
# python: 3.8
37-
# skip_existing: true
14+
- codecov
15+
deploy:
16+
provider: pypi
17+
distributions: sdist bdist_wheel
18+
user: __token__
19+
password:
20+
secure: g4+XX6IPN2LmmDOU0FtvZ6GPQtNUttu5gJpGKnZtbrotWPsVhk3vco9pzDrSjEpehqRh4RIvbfZB41Q99rQYCtpVNi8e2icYA78hsgmQ7P6pEg2tROqI3kuQ7mOfxBRHTUskLn8kmb27+OS1Wfs1WQFbDmy5xf14/V/y7Q+tR7bGzsC7VPhaD9avkXPvA2pwMOdbel5CzqfFNWaZQdwE5mPw+GgMuPYAZHndrIRopnlqgfOVvzgEhoLSJs29TPtFFqeJCT1b5mv9FOFes36N89QhtEkLIc51s7F9k5mSv8nAjIJ9E2wsKwPlqpXcYzGbCJQ14PBDAZWc13zD4YVH/nb2wJJ6rEamRWCh3ZvnrTqGgGyK4soP70dUAB4JGrttVk1dVMprvue2a+ogcfQ7r+WoUpVrLxwsdbK0gkHv75gFZCE9TlkHGUVvgxThFrIMldtkwRYvYAVxyZ0F72LuwfbpsGJ4Tl2CH39/d99enw17qXpAt6or1YxC9q1s03ps4XYRHAL+L4VG2sxMInyjALBbbZPlkBrrgvThX6K17j9+tWsIhjECcC0MwGP66jUwg+PEWlhEvxG/8rL4ZRr1+bPoYtph7pM6AuFtbNn+iB3lgoD7m6oRc0SbejOmrIO7XV10RS7WyGuafTG52ZBYafIG1B0eyeQEDp0AMi48AWo=
21+
on:
22+
tags: true
23+
repo: engineervix/readme_coverage_badger
24+
python: 3.8
25+
skip_existing: true

0 commit comments

Comments
 (0)