Merge pull request #572 from jpvlsmv/issue-570

Issue 570 - CI process improvements
This commit is contained in:
Andrew Senetar 2019-05-23 18:08:41 -05:00 committed by GitHub
commit ad2a07a289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 10 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
pytest>=2.0.0,<3.0
pytest-monkeyplus>=1.0.0
flake8
tox-travis

View File

@ -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