mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Merge pull request #669 from jpvlsmv/refactor_ci
Refactor ci a little bit
This commit is contained in:
commit
d5a6ca7488
@ -5,6 +5,11 @@ install:
|
|||||||
script: tox
|
script: tox
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
- os: "linux"
|
||||||
|
dist: "xenial"
|
||||||
|
python: "3.8"
|
||||||
|
script:
|
||||||
|
- tox -e style
|
||||||
- os: "linux"
|
- os: "linux"
|
||||||
dist: "xenial"
|
dist: "xenial"
|
||||||
python: "3.6"
|
python: "3.6"
|
||||||
|
13
tox.ini
13
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py36,py37,py38
|
envlist = style,py36,py37,py38
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
skip_missing_interpreters = True
|
skip_missing_interpreters = True
|
||||||
|
|
||||||
@ -10,16 +10,25 @@ setenv =
|
|||||||
PYTHON="{envpython}"
|
PYTHON="{envpython}"
|
||||||
commands =
|
commands =
|
||||||
make modules
|
make modules
|
||||||
flake8
|
|
||||||
py.test core hscommon
|
py.test core hscommon
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/requirements-extra.txt
|
-r{toxinidir}/requirements-extra.txt
|
||||||
|
|
||||||
|
[testenv:style]
|
||||||
|
deps =
|
||||||
|
{[testenv]deps}
|
||||||
|
flake8
|
||||||
|
commands =
|
||||||
|
flake8
|
||||||
|
|
||||||
[testenv:WINDOWS]
|
[testenv:WINDOWS]
|
||||||
deps =
|
deps =
|
||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
-r{toxinidir}/requirements-windows.txt
|
-r{toxinidir}/requirements-windows.txt
|
||||||
|
commands =
|
||||||
|
python build.py
|
||||||
|
python package.py
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
exclude = .tox,env,build,hscommon/tests,cocoalib,cocoa,help,./qt/dg_rc.py,qt/run_template.py,cocoa/run_template.py,./run.py,./pkg
|
exclude = .tox,env,build,hscommon/tests,cocoalib,cocoa,help,./qt/dg_rc.py,qt/run_template.py,cocoa/run_template.py,./run.py,./pkg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user