mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24: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
|
||||
matrix:
|
||||
include:
|
||||
- os: "linux"
|
||||
dist: "xenial"
|
||||
python: "3.8"
|
||||
script:
|
||||
- tox -e style
|
||||
- os: "linux"
|
||||
dist: "xenial"
|
||||
python: "3.6"
|
||||
|
13
tox.ini
13
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user