Skip to content

Commit 796e3cc

Browse files
committed
Add deploy stage
1 parent d2456dd commit 796e3cc

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.travis.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,19 @@ script:
1919
after_success:
2020
- coveralls
2121

22-
deploy:
23-
provider: pypi
24-
user: nicoddemus
25-
skip_upload_docs: true
26-
distributions: sdist bdist_wheel
27-
password:
28-
secure: OEWrbk09CZRrwFE6sBpRqQHu45zRu1S0Ly1ZeprkFCKxMd9tZOnrYM5qxCDQXxFHIvuyajuJ+qWTOgxUvurQMNsD6DbvJKTJ0R8upH1b1Q95KK8xiJFedhqBEUga5GrInK59oo0Sgblse2jtH5NnHXRUClSdT+iHdLY5sljCTRg=
29-
on:
30-
tags: true
31-
repo: pytest-dev/pytest-mock
32-
condition: $TRAVIS_PYTHON_VERSION = 3.6
22+
jobs:
23+
include:
24+
- stage: deploy
25+
python: '3.6'
26+
install: pip install -U setuptools setuptools_scm
27+
script: skip
28+
deploy:
29+
provider: pypi
30+
user: nicoddemus
31+
skip_upload_docs: true
32+
distributions: sdist bdist_wheel
33+
password:
34+
secure: OEWrbk09CZRrwFE6sBpRqQHu45zRu1S0Ly1ZeprkFCKxMd9tZOnrYM5qxCDQXxFHIvuyajuJ+qWTOgxUvurQMNsD6DbvJKTJ0R8upH1b1Q95KK8xiJFedhqBEUga5GrInK59oo0Sgblse2jtH5NnHXRUClSdT+iHdLY5sljCTRg=
35+
on:
36+
tags: true
37+
repo: pytest-dev/pytest-mock

0 commit comments

Comments
 (0)