File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed
Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change 1- sudo : false
21language : python
32
3+ env :
4+ global :
5+ - TWINE_USERNAME="anthrotype"
6+ - secure : grrVsFD+NUzbNZEv9HXhFh48VKnOWatSh4HRvO/k+DFn8iQvj1mXYXyNM7STOgX3lAxryJHpfcie1UvlE6JLPGvM8TKuq4lqtWlHCaDiNOIiaEp4EGxxhLkSz/Zf7D6501OP1hs/8kFO46QHJteOS0/SXcnIC0Fvq2hDqMb6GUoYKWGyxKwvSfT4AdVPWHEe/p2PNyWAMmJwnx1AwggnsxzDg6zAANCEAiEk7iU+gpNTgXmp+DWo/Av9hglidRjSdq8Fn0x4L+PxMxshJhIbdOB5cFS/Lq1LLBF8yqceht+hAj/pzQnIqE6ALYtXgHUxp/W0BJdJWX16m7TXm4NPWgmgRrRLR/amD+Mp5l1M9UHgwSOdQBU22CkF/hfor0b6ED4Q+Ap6ayy+g6cOp29okGLCMIjXxJU/9rIFjYQ5TFfmD2RvVhUj44e7azGyHNa9goro78mcM9on7a377guODVivVNANPTqm2ZEvLprWmLcz/dlEHFb4ODLvvh4x9hYLPZBF1A9j+qhAGuAFtmOPsPBAJzaSEDAu3DWtwYeGh1+RqagoNhLovB/qfz4YbFygWTj7oQfvmnE0wkAFGqR5EbgLl6o4FKvXl5ZpDj8q/gZdCjwi4VLSTguk0xlIfObLhKq73issjB3Jaxi4Pnl5KcnnhhgtvY3WGx27jMP2yB0=
7+
48matrix :
59 include :
610 - python : 2.7
913 # required to run python3.7 on Travis CI
1014 # https://github.com/travis-ci/travis-ci/issues/9815
1115 dist : xenial
12- sudo : true
1316
1417install :
1518 - pip install --upgrade pip setuptools wheel
@@ -22,8 +25,15 @@ install:
2225
2326script : tox
2427
25- before_deploy :
26- - python setup.py sdist bdist_wheel
28+ after_success :
29+ # if it's a tagged commit, upload distribution packages to PyPI
30+ - |
31+ if [ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_REPO_SLUG" == "typemytype/booleanOperations" ] && [ "$TRAVIS_PYTHON_VERSION" == "3.6" ]; then
32+ pip install --upgrade twine pip setuptools wheel
33+ python setup.py sdist
34+ pip wheel --no-deps --wheel-dir dist .
35+ twine upload dist/*.whl dist/*.zip
36+ fi
2737
2838deploy :
2939 # deploy to Github Releases on tags
@@ -38,15 +48,3 @@ deploy:
3848 tags : true
3949 all_branches : true
4050 python : 3.6
41- # deploy to PyPI on tags
42- - provider : pypi
43- server : https://upload.pypi.org/legacy/
44- on :
45- repo : typemytype/booleanOperations
46- tags : true
47- all_branches : true
48- python : 3.6
49- user : anthrotype
50- password :
51- secure : B6rFOTA8ol1kt210q7USDVOzLFWUyMIwdZuaUdejYmUb0CXK6W8kKj0H01yBCgjkhtew9YEQSB62jFiGUOJH9L8JjpJO2RG8cHIIblXQfQ5DXogmcEtsAFotQz0o3UO/SYJaMY917XsPCqw3MTgksd2NWwO7H3YCjaWntN4zZxyTWowGr2Vhbj9s8e+MGMtrZ3Is91AcoXNI7HPj2oVhAtPP5GGpceIP7JlOGdHGUFJKuwJLRKVjEURWXN6ZOQNoxuG6KdkpGtJYCFgRCW65e48WpQs8lts/ByyOMyRItPIPI+K/cPOaIvZ7IUhu9SueBgKcW2YVzQrPzD07N5Lhb4LaKhqgMwpy7oWntnpO0/Xes7bonAoDYKPz7O3O3zl57fy1sVhGXZZNoGUfwyFz1PPecONavRpDQYCMEOq8BcENT86mf0xbAvtmTvBgos8NknmZ35ckUkyrye8t058CwW0yhEO2Pr36XPKoEP9EAiq2YRvINPYnI1T3jTPUUwnc3IAv4zQvPUKWqs2/hEVy8FTCz/0hBgDv2cs4pRcofTzfXSczGMfyuNS3i4n3CHc4FEOYP9MuEWGDC7KF4MVNsBWbh5pkISwhIwNbW1UDept2k+Dmb9XrSoCt5aSvEPJVT3YTA4qTGSUQvhzj1SvXi3s2lh+1WbibEJqNfpdobGg=
52- distributions : sdist bdist_wheel
You can’t perform that action at this time.
0 commit comments