diff --git a/.travis.yml b/.travis.yml index 9f5ab6b..5ca56e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,8 @@ matrix: python: "3.7" before_install: - choco install python3 - - export PATH="/c/Python37;/c/Python37/Scripts;$PATH" + - export PATH="/c/Python37:/c/Python37/Scripts:$PATH" + - python -m pip install virtualenv - ls -la /c/Python37/Scripts - virtualenv $HOME/venv - source $HOME/venv/Scripts/activate diff --git a/appveyor.yml b/appveyor.yml index fdc3e40..5db1a9f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,4 +6,4 @@ install: - pip install .[test] test_script: -- python -m unittest +- tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..cf56dec --- /dev/null +++ b/tox.ini @@ -0,0 +1,11 @@ +# tox.ini + +[tox] +envlist = py{37} + +[testenv] +description = Unit tests +commands = + pip install .[test] + coverage run -m unittest + coverage report --omit tests/*