Skip to content

Commit 56e6ce0

Browse files
committed
Use travis to deploy from travis to PyPI on tags
Fix #131
1 parent e778f7a commit 56e6ce0

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.travis.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sudo: false
22
language: python
33

4-
matrix:
4+
jobs:
55
include:
66
- python: '3.6'
77
env: TOXENV=check
@@ -30,6 +30,22 @@ matrix:
3030
- python: '3.6'
3131
env: TOXENV=benchmark
3232

33+
- stage: deploy
34+
python: '3.6'
35+
env:
36+
install: pip install -U setuptools setuptools_scm
37+
script: skip
38+
deploy:
39+
provider: pypi
40+
user: nicoddemus
41+
distributions: sdist bdist_wheel
42+
skip_upload_docs: true
43+
password:
44+
secure: PDvQCKfXrF1V/tdwEOfeDEjDs6vJ9gKWo4yrMUmBx1JL5plHZaqfHLftlGMoHekaQTHcfyYYbxignFw5IGsn97/nFKKWDPNBfZA+3RJJmeJfz2NQunYkSnoqtBtfEtWHzFPdkCm0w/CN9C8IpRjhvLnFTUQzil6iMy6wZG276gU=
45+
on:
46+
tags: true
47+
repo: pytest-dev/pluggy
48+
3349
install:
3450
- pip install -U setuptools pip
3551
- pip install -U tox
@@ -44,5 +60,3 @@ notifications:
4460
on_success: change
4561
on_failure: change
4662
skip_join: true
47-
# email:
48-

0 commit comments

Comments
 (0)