Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Run tox on travis
Adam Bogdałf5fce0721d3a
diff --git a/.coveragerc b/.coveragercindex 658f243ddb..038b979075 100644--- a/.coveragerc+++ b/.coveragerc@@ -1,6 +1,8 @@[run]branch = 1-omit = */test_*.py+omit =+ */migrations/*+ */test_*.pysource = saleor[report]diff --git a/.travis.yml b/.travis.ymlindex dc05305a05..751fd72efe 100644--- a/.travis.yml+++ b/.travis.yml@@ -1,13 +1,12 @@language: pythonsudo: false-python:- - 2.7- - 3.3- - 3.4install:- - python setup.py install- - pip install coverage- - pip install codecov-script: coverage run setup.py test+ - pip install tox codecov+script:+ - tox+env:+ - TOXENV=py27+ - TOXENV=py33+ - TOXENV=py34after_success:- codecovdiff --git a/tox.ini b/tox.iniindex 3447e2eb79..71e33a776b 100644--- a/tox.ini+++ b/tox.ini@@ -3,11 +3,12 @@ envlist = py27,py33,py34[testenv]deps=- mock- purl+ mock==1.3.0+ purl>=0.4.1pytestpytest-django-commands=py.test+ coverage+commands=coverage run setup.py test[pytest]norecursedirs =