Skip to content

Commit 7d35df0

Browse files
Merge pull request #290 from RonnyPfannschmidt/travis-structure
correct the deploy sections
2 parents 4505996 + 5a0d9d4 commit 7d35df0

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

.travis.yml

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ credentials:
1111
- &pypi
1212
provider: pypi
1313
user: ronny
14+
# use when testing, may require recreation of the user and its credentials
15+
# server: https://test.pypi.org/legacy/ # Remove for deployment to official PyPi repo
1416
password:
1517
secure: QGJhDXmfFDKysMJJV/ONGaHHzG/aImhU3DdhEP63d657iQSn/Cb4EG/l9YmVnRzpJ94nSDXZB8YwptR7rid0bOtidb32lxN8n6UiWILCXWeAN2FE+tT9/0xIct4HUJZ8OttD1gft/Di722Gy+s9PzFwjwrV4efkxCzgjfYOjkMeq3aO6NoG3ur0iZXJh7ODwLp4sRFep2NpIEaXm2qMdnnXpck6bJ1q/NtvPx9CAZivd9HYa0evg5j1ENTz1mXXafhgF+0vRCBXA33xJuysO6CKtk+2mizL1QHfosOERiKl9+zPyZw+VvSchbCVwgxrMSiRcpGag+4SegyHrj1M/2YqfFzMF/yuFGcqXl2VkEqlnBQOVMNW3Kdcmnm+caNbddnv+M384WFz4nV8nWjcsD5l27+XlMWfuvskDIvZKtVCXmmbtqgwM4tqoYd6uxbnooRfwINTGx8sNzKP10xkaesB3ZBCEpecOKA1AXUAZ74RfYWWExv6eIuVGwyIJmOcD8M/17N8g58GxxO+88gx50EuhyNiRjYZDUipfVydfJwBwpD+p695NixUMITuksucQftjHsQp+laGWJlDIPvFwI85wDJUYAyrzn6L1W+smkm1bGomuliW2MJfxeSZAmSk4CE5VOpIWQTBmDLR3pxBhcaqzwdd4mAWvMi/fpM4yJJI=
16-
18+
on:
19+
tags: yes
1720
python:
1821
- '2.7'
1922
- '3.4'
@@ -57,30 +60,42 @@ jobs:
5760
script: skip
5861
deploy:
5962
<<: *pypi
60-
on:
61-
tags: true
62-
distributions: "sdist bdist_wheel"
63+
distributions: "sdist bdist_wheel"
6364

64-
- &eggs
65-
<<: *deploy
65+
- <<: *deploy
6666
name: "python eggs 2.7"
6767
python: '2.7'
68-
distributions: "bdist_egg"
69-
- <<: *eggs
68+
deploy:
69+
<<: *pypi
70+
distributions: "bdist_egg"
71+
- <<: *deploy
7072
name: "python eggs 3.4"
7173
python: '3.4'
74+
deploy:
75+
<<: *pypi
76+
distributions: "bdist_egg"
7277

73-
- <<: *eggs
78+
79+
- <<: *deploy
7480
name: "python eggs 3.5"
7581
python: '3.5'
82+
deploy:
83+
<<: *pypi
84+
distributions: "bdist_egg"
7685

77-
- <<: *eggs
86+
- <<: *deploy
7887
name: "python eggs 3.6"
7988
python: '3.6'
89+
deploy:
90+
<<: *pypi
91+
distributions: "bdist_egg"
8092

8193
# - <<: *eggs
8294
# name: "python eggs 3.7"
8395
# python: '3.7'
96+
# deploy:
97+
# <<: *pypi
98+
# distributions: "bdist_egg"
8499

85100
cache:
86101
directories:

0 commit comments

Comments
 (0)