Skip to content

Commit ed8cdde

Browse files
authored
Merge pull request #104 from nicoddemus/stages
Add deploy stage
2 parents 6389e03 + 3618c68 commit ed8cdde

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

.travis.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ python:
55
- "3.5"
66
- "3.6"
77

8-
matrix:
9-
include:
10-
- python: '3.6'
11-
env: TOXENV=linting
12-
138
install:
149
- pip install tox-travis coveralls
1510

@@ -19,14 +14,21 @@ script:
1914
after_success:
2015
- coveralls
2116

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
17+
jobs:
18+
include:
19+
- python: '3.6'
20+
env: TOXENV=linting
21+
- stage: deploy
22+
python: '3.6'
23+
install: pip install -U setuptools setuptools_scm
24+
script: skip
25+
deploy:
26+
provider: pypi
27+
user: nicoddemus
28+
skip_upload_docs: true
29+
distributions: sdist bdist_wheel
30+
password:
31+
secure: OEWrbk09CZRrwFE6sBpRqQHu45zRu1S0Ly1ZeprkFCKxMd9tZOnrYM5qxCDQXxFHIvuyajuJ+qWTOgxUvurQMNsD6DbvJKTJ0R8upH1b1Q95KK8xiJFedhqBEUga5GrInK59oo0Sgblse2jtH5NnHXRUClSdT+iHdLY5sljCTRg=
32+
on:
33+
tags: true
34+
repo: pytest-dev/pytest-mock

0 commit comments

Comments
 (0)