File tree Expand file tree Collapse file tree 1 file changed +9
-21
lines changed
Expand file tree Collapse file tree 1 file changed +9
-21
lines changed Original file line number Diff line number Diff line change 88os :
99 - linux
1010stages :
11- - lint
12- - docs
13- - test
11+ - phase1
12+ - phase2
1413 - deploy
1514before_install :
1615 # begin: workaround to enable support for py37:
@@ -26,14 +25,16 @@ before_install:
2625 # ^ end workaround
2726 - nvm install $TRAVIS_NODE_VERSION
2827 # end
29- - which tox >/dev/null || if [ -z ${VIRTUAL_ENV+x} ]; then python -m pip install --user tox tox-pyenv ; else python -m pip install tox tox-pyenv; fi
28+ - which tox >/dev/null || if [ -z ${VIRTUAL_ENV+x} ]; then python -m pip install --user tox tox-pyenv ; else python -m pip install tox tox-pyenv twine ; fi
3029notifications :
3130 email :
3231 - pycontribs@googlegroups.com
3332jobs :
3433 include :
3534 - stage : phase1
3635 script :
36+ # package building added here purely to fail-fast if is broken
37+ - python setup.py sdist bdist_wheel
3738 - python -m tox
3839 - npm install && npm run spell
3940 env : TOXENV=lint
@@ -82,29 +83,16 @@ jobs:
8283 # end
8384 - stage : deploy
8485 script :
85- - export PACKAGE_NAME=$(python setup.py --name)
86- - export PACKAGE_VERSION=$(python setup.py --version)
8786 - python setup.py sdist bdist_wheel
87+ - python -m twine upload dist/*
88+ if : tag IS present
8889 deploy :
89- - provider : pypi
90- user : pycontribs
91- distributions : sdist bdist_wheel
92- skip_existing : true
93- skip_cleanup : true
94- # https://github.com/travis-ci/dpl/pull/834
95- edge :
96- source : ssbarnea/dpl
97- branch : master
98- on :
99- tags : true
100- branch : master
101- repo : pycontribs/jira
10290 - provider : releases
10391 api_key :
10492 secure : YJGigSNYOzMJqs23gIZLFxiVYRqHdV4WsTZmRVosishD2QIaDlTwJma7k6Y5eMPVNdLpqo7Tq6bt7xkJAz/dcr3UO35T/Y0tiRFFW3sd6IOB6ELwSwPhSeHoyUMvZtKyDTl+9tOfeZusFZuCc+mBLQcG+S2NzEaeyrQ6n5hTT/8FGBP91FOq9l5q2gYbmACZ9MisDIjZkTHNYih36ComnZ9QHC91jHKcSuHmOfWWX3GneDVFtuPhF2vjaLQrz8IFtWGW5Sfe35yDYlVQRH+NFxzSJ2zDuT5j8cRgwXjGout78umtMsqAn+zv1Ws/MUNKMTEtONsACndMpGCkuB6Nifl/KcGj5kD7V4PO/gE0ecr830qAwJxSVB7xk6rl797nMxGbr4w2DWQ/iDdHDTlPAEzbLBMLrMRgPxzKPgg5CNxxjT1cHoBNcFPp6gaf017w4XOVUgp/zxXeCg7iGiNJj7z2t8/m9eYVNNlNRPcodN6BjSjPqkYxC3ZMVCI5KsRXbHmR0zOWbPdcRjrY/IgbiTqX09sHotHw5GThP6YTMbienC4h93cdx6MEfX656W6XMOxpC+MjWtYuV8QlfMEJFlstOnA86MVLcmbl+4A6FHuvlQMdDtP9KsKdKIf/4juGhNEFir32P1rUe8J1abmjwXmDkHVbli0SDqaFtB5gyCc=
93+ file_glob : true
10594 file :
106- - dist/$PACKAGE_NAME-$PACKAGE_VERSION.tar.gz
107- - dist/$PACKAGE_NAME-$PACKAGE_VERSION-py2.py3-none-any.whl
95+ - dist/*
10896 - ChangeLog
10997 skip_cleanup : true
11098 on :
You can’t perform that action at this time.
0 commit comments