1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-05-07 09:19:50 +00:00

Compare commits

...

5 Commits

Author SHA1 Message Date
d5a6ca7488
Merge pull request #669 from jpvlsmv/refactor_ci
Refactor ci a little bit
2020-06-01 11:57:58 -05:00
Joe Moore
d15dea7aa0 Move flake8 requirement out of .txt into tox environment spec 2020-05-30 09:49:17 -04:00
Joe Moore
ccb1c75f22 Call style-checker tox environment 2020-05-30 09:40:23 -04:00
Joe Moore
dffbed8e22 Use build and package scripts on windows 2020-05-30 09:34:03 -04:00
Joe Moore
50ce010212 Move flake8 to a separate tox env 2020-05-30 09:33:35 -04:00
2 changed files with 16 additions and 2 deletions

View File

@ -5,6 +5,11 @@ install:
script: tox
matrix:
include:
- os: "linux"
dist: "xenial"
python: "3.8"
script:
- tox -e style
- os: "linux"
dist: "xenial"
python: "3.6"

13
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = py36,py37,py38
envlist = style,py36,py37,py38
skipsdist = True
skip_missing_interpreters = True
@ -10,16 +10,25 @@ setenv =
PYTHON="{envpython}"
commands =
make modules
flake8
py.test core hscommon
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-extra.txt
[testenv:style]
deps =
{[testenv]deps}
flake8
commands =
flake8
[testenv:WINDOWS]
deps =
{[testenv]deps}
-r{toxinidir}/requirements-windows.txt
commands =
python build.py
python package.py
[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