瀏覽代碼

add tox configuration file for easy testing

Filippo Valsorda 12 年之前
父節點
當前提交
79cfb46d42
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 1 0
      .gitignore
  2. 5 0
      tox.ini

+ 1 - 0
.gitignore

@@ -25,3 +25,4 @@ updates_key.pem
 *.mp4
 *.mp4
 *.part
 *.part
 test/testdata
 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