Browse Source

Merge pull request #1334 from romanz/master

travis: use Tox for test automation
283
ThomasV 10 years ago
parent
commit
306756b42d
  1. 1
      .gitignore
  2. 6
      .travis.yml
  3. 10
      tox.ini

1
.gitignore

@ -15,3 +15,4 @@ locale/
*_trial_temp
packages
env/
.tox/

6
.travis.yml

@ -3,8 +3,6 @@ language: python
python:
- "2.7"
install:
- "pip install ."
- "pip install coverage"
- pip install tox
script:
- "coverage run --source=lib -m py.test -v"
- "coverage report"
- tox

10
tox.ini

@ -0,0 +1,10 @@
[tox]
envlist = py27
[testenv]
deps=
pytest
coverage
commands=
coverage run --source=lib -m py.test -v
coverage report
Loading…
Cancel
Save