1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-02-03 11:51:39 +00:00

Merge pull request #669 from jpvlsmv/refactor_ci

Refactor ci a little bit
This commit is contained in:
2020-06-01 11:57:58 -05:00
committed by GitHub
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