Browse Source

add tox configuration file for easy testing

Filippo Valsorda 5 years ago
parent
commit
79cfb46d42
2 changed files with 6 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 5 0
      tox.ini

+ 1 - 0
.gitignore

@@ -25,3 +25,4 @@ updates_key.pem
 *.mp4
 *.part
 test/testdata
+.tox

+ 5 - 0
tox.ini

@@ -0,0 +1,5 @@
+[tox]
+envlist = py26,py27,py33
+[testenv]
+deps = nose
+commands = nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose test