Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split out deploy #2

Merged
merged 13 commits into from
Feb 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 23 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
language: python
matrix:
include:
- python: 3.8
env: TOXENV=py38
- python: 3.7
env: TOXENV=py37
- python: 3.6
env: TOXENV=py36
- python: 3.8
env: TOXENV=black,flake8
- python: 3.8
env: TOXENV=pydocstyle
- python: 3.8
env: TOXENV=pyright
python:
- 3.8
- 3.7
- 3.6

before_install: sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0 xvfb herbstluftwm
install: pip install -U tox-travis
script: tox -e $TOXENV
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: talley
password:
secure: nQS9mn+K29NpoJtp+eahRIQU9R6i0JxBOObCht1+PJobTRwe+TNB8J86jo251MpPqqo38or8cs3rFZbwuzqxEzsm9eX/a7+r0BEUkyzyDu85kZ6agJhk/xHrao/crqaY8SkQJP1zpg2AUnSTJ4jUKBnUl+2uePHdvJkFZsrNMsa7E898NNt0fBrhD9EgLto1VCiS0hyctT+7wnlIbDrQZPMPtD5BAEePRNxjhTMKXwAt5anKo9l8izpVzeZXrTScFQt2wCm87H3V8m7+hP7w+J2uw/JKmo1ZDPbUiirUXNUxLdpbclgpgPaoykBThOwPgIPxFyId7hW4cAZ4hGYgBbUn+CT/Rg9mj/7ysdGhGsRH27bf9SxnQfNARFiaGN45oTQxZXxASQq91mPjhD1ZJHgfjUEuKuFJ+tcgr7QQgY1Qf9MYCLm5P7QRedBiIeBZ4XjJCnCQzCmHs8sBELWVxTG8MR2XRrgo5/X+eqemPHHxe6iE/gf7LplclV1Hps093BhPcbnirtj27V6JbrVeU9IDExWDUQjxWQz+WbCAnzFPAGU/X1Zl8YrGC3TSDI0KLspW0saxeXEJuiYPIPS1fPl1fKNSrKFVEDWquWgby/79zW5vRYuALPoZFGDmvy+MW5MkifSohLz6q2ukzFPswW/1AutsIwbYf3XEPP5+edA=
on:
branch: master
condition: $TOXENV = py38
python: 3.8
tags: true
repo: tlambert03/magicgui
script: tox -e ${TOXENV:=py${TRAVIS_PYTHON_VERSION//[.]/}}

jobs:
include:
- { env: TOXENV=lint }
- { env: TOXENV=pydocstyle }
- { env: TOXENV=pyright }
- stage: Deploy
script: skip
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: talley
password:
secure: nQS9mn+K29NpoJtp+eahRIQU9R6i0JxBOObCht1+PJobTRwe+TNB8J86jo251MpPqqo38or8cs3rFZbwuzqxEzsm9eX/a7+r0BEUkyzyDu85kZ6agJhk/xHrao/crqaY8SkQJP1zpg2AUnSTJ4jUKBnUl+2uePHdvJkFZsrNMsa7E898NNt0fBrhD9EgLto1VCiS0hyctT+7wnlIbDrQZPMPtD5BAEePRNxjhTMKXwAt5anKo9l8izpVzeZXrTScFQt2wCm87H3V8m7+hP7w+J2uw/JKmo1ZDPbUiirUXNUxLdpbclgpgPaoykBThOwPgIPxFyId7hW4cAZ4hGYgBbUn+CT/Rg9mj/7ysdGhGsRH27bf9SxnQfNARFiaGN45oTQxZXxASQq91mPjhD1ZJHgfjUEuKuFJ+tcgr7QQgY1Qf9MYCLm5P7QRedBiIeBZ4XjJCnCQzCmHs8sBELWVxTG8MR2XRrgo5/X+eqemPHHxe6iE/gf7LplclV1Hps093BhPcbnirtj27V6JbrVeU9IDExWDUQjxWQz+WbCAnzFPAGU/X1Zl8YrGC3TSDI0KLspW0saxeXEJuiYPIPS1fPl1fKNSrKFVEDWquWgby/79zW5vRYuALPoZFGDmvy+MW5MkifSohLz6q2ukzFPswW/1AutsIwbYf3XEPP5+edA=
on:
branch: master
tags: true
repo: tlambert03/magicgui
19 changes: 9 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
[tox]
envlist = py36, py37, py38, flake8, black, pydocstyle, pyright
envlist = py36, py37, py38, lint, pydocstyle, pyright

[travis]
python =
3.8: py38, flake8, black, pydocstyle, pyright
3.8: py38, lint, pydocstyle, pyright
3.7: py37
3.6: py36

[testenv:flake8]
deps = flake8
commands = flake8 magicgui tests

[testenv:black]
skip_install = true
deps = black==19.10b0
commands = black magicgui tests
[testenv:lint]
deps =
flake8
black==19.10b0
commands =
flake8 magicgui tests
black magicgui tests

[testenv:pydocstyle]
deps = pydocstyle>=5.0.2
Expand Down