Skip to content

Commit 1395167

Browse files
committed
Improve Travis config: name jobs, deploy only once
1 parent 143c00c commit 1395167

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.travis.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
language: python
22
matrix:
33
include:
4-
- env: TOXENV=black,flake8,mypy,docs
4+
- name: "Code quality tests"
5+
env: TOXENV=black,flake8,mypy,docs
56
python: 3.7
67
dist: xenial
78
sudo: true
8-
- env: TOXENV=py37
9+
- name: "Unit tests with Python 3.7"
10+
env: TOXENV=py37
911
python: 3.7
1012
dist: xenial
1113
sudo: true
12-
- env: TOXENV=py36
14+
- name: "Unit tests with Python 3.6"
15+
env: TOXENV=py36
1316
python: 3.6
1417
cache:
1518
directories:
@@ -24,9 +27,12 @@ after_success:
2427
- codecov
2528
deploy:
2629
provider: pypi
27-
user: mvanlonden
30+
distributions: sdist bdist_wheel
2831
on:
32+
branch: master
2933
tags: true
34+
python: 3.7
35+
skip_existing: true
36+
user: mvanlonden
3037
password:
3138
secure: Wh18Cpv51DxBOnN3yTgmDpv+j+Gd/1DicpwmKxacdwn/2lay2DLMEzfc81A7nNhKQD5XA0VwAIXhVK5cZFPOT0MTUcvm6UoTo7urbH7/B1zW1YcfgRvJuMH3BVDvb+cUO0w3LuN1yEmiGSfPhvE72KUkic4IlnubZI42zK5tHba1AUDIz9gEuEQpkFMsuLlguEWA7wIodjzQMEmecSLD3AQB0inoBQ4f2vPjAFYfuY7EDT0l+cPNABHj0fC9Gloo/5Ha8f+rZNN8Ige84sX6RnOJ9a9xmbyv1T3U/hQuZsz1723Zyc1QmCWxvkuzLEvkKHBamDMXTrgBSQ6j00F0NxSxvMBv5MFBGqfERANEZ6noBa8Xy0qgPBMhLiXmzcPPmn9Q8NdNtvbvIkFDUOVKoSiBQcaZr+0nzZOgoSLCuwQfRigKofEtwc+AuY+26N05ctXC6lbL89q0JL/1WqNMIv/EnkosN7DR/8zXpC22PYBUT5x63F05h4QsrqiLbsSbumrZ6k68mxhq3Qw7u2hIVM9uw+E8cWjpIs/3iAByCXOa1K42mKSA72iL2Z9xQL1UAT6uHNTy1jEVbzFOn0Mr+MiHP7TL/yfaGU31kIBevQ9dLZpfwPe4texIwNtZQ/cG6waAKOWNwK1B6YsYGhoIbYTcJhyidBP7F2N9vbhu9DI=
32-
distributions: sdist bdist_wheel

0 commit comments

Comments
 (0)