mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Merge pull request #572 from jpvlsmv/issue-570
Issue 570 - CI process improvements
This commit is contained in:
commit
ad2a07a289
33
.travis.yml
33
.travis.yml
@ -1,11 +1,28 @@
|
||||
sudo: false
|
||||
dist: xenial
|
||||
language: python
|
||||
python:
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
install: pip install tox-travis
|
||||
install:
|
||||
- pip3 install -r requirements.txt -r requirements-extra.txt
|
||||
script: tox
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- os: "linux"
|
||||
dist: "xenial"
|
||||
python: "3.5"
|
||||
- os: "linux"
|
||||
dist: "xenial"
|
||||
python: "3.6"
|
||||
- os: "linux"
|
||||
dist: "xenial"
|
||||
python: "3.7"
|
||||
- os: "windows"
|
||||
language: shell
|
||||
python: "3.7"
|
||||
env: "PATH=/c/python37:/c/python37/Scripts:$PATH"
|
||||
before_install:
|
||||
- choco install python make
|
||||
- cp /c/python37/python.exe /c/python37/python3.exe
|
||||
before_script:
|
||||
- pip3 install -r requirements-windows.txt
|
||||
- python3 build.py
|
||||
script:
|
||||
- tox -e WINDOWS
|
||||
|
@ -1,4 +1,4 @@
|
||||
pytest>=2.0.0,<3.0
|
||||
pytest-monkeyplus>=1.0.0
|
||||
flake8
|
||||
|
||||
tox-travis
|
||||
|
7
tox.ini
7
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py34,py35,py36
|
||||
envlist = py35,py36,py37
|
||||
skipsdist = True
|
||||
skip_missing_interpreters = True
|
||||
|
||||
@ -16,6 +16,11 @@ deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/requirements-extra.txt
|
||||
|
||||
[testenv:WINDOWS]
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
-r{toxinidir}/requirements-windows.txt
|
||||
|
||||
[flake8]
|
||||
exclude = .tox,env,build,hscommon,qtlib,cocoalib,cocoa,help,./qt/dg_rc.py,qt/run_template.py,cocoa/run_template.py,./run.py,./pkg
|
||||
max-line-length = 120
|
||||
|
Loading…
x
Reference in New Issue
Block a user