forked from sitespeedio/browsertime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
29 lines (26 loc) · 676 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[tox]
downloadcache = {toxworkdir}/cache/
envlist = py36,py27,lint
isolated_build = True
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = pytest
pyssim
pytest-cov
commands =
pytest --cov-report= --cov-config .coveragerc --cov browsertime browsertime/test_visualmetrics.py
- coverage combine
coverage report -m
[testenv:py27]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = pytest
pyssim
commands =
pytest browsertime/test_visualmetrics.py
[testenv:lint]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = black
flake8
commands =
black browsertime
flake8 --ignore=E501,W503 browsertime