Skip to content

Commit a7f92a4

Browse files
committed
travis: Avoid deploying twice
1 parent a4bfc88 commit a7f92a4

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.travis.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
11
---
22
language: python
3+
python:
4+
- "3.6"
35
services:
46
- docker
57

68
install:
7-
- pip install sphinx sphinx-rtd-theme
9+
- pip install sphinx sphinx-rtd-theme black
810

911
script:
1012
- make -C docs html
13+
- black --check --diff .
1114
- ./build_exe.sh
1215

13-
jobs:
14-
include:
15-
- stage: format-check
16-
python:
17-
- "3.6"
18-
install:
19-
- pip install black
20-
script:
21-
- black --check --diff .
22-
2316
deploy:
2417
- provider: pypi
2518
user: $PYPI_USERNAME

0 commit comments

Comments
 (0)