Browse Source

rollback tests multiprocess, Travis and OSX don't support it

Filippo Valsorda 12 năm trước cách đây
mục cha
commit
fedb6816cd
3 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 2 0
      .gitignore
  2. 1 1
      .travis.yml
  3. 2 1
      Makefile

+ 2 - 0
.gitignore

@@ -13,3 +13,5 @@ youtube-dl.bash-completion
 youtube-dl
 youtube-dl.exe
 youtube-dl.tar.gz
+.coverage
+cover/

+ 1 - 1
.travis.yml

@@ -3,7 +3,7 @@ python:
   - "2.6"
   - "2.7"
 #  - "3.3"
-script: nosetests test --verbose --processes 4
+script: nosetests test --verbose
 notifications:
   email:
     - filippo.valsorda@gmail.com

+ 2 - 1
Makefile

@@ -17,7 +17,8 @@ install: youtube-dl youtube-dl.1 youtube-dl.bash-completion
 	install -m 644 youtube-dl.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dl
 
 test:
-	nosetests2 --nocapture test
+	#nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose --processes 4 test
+	nosetests --verbose test
 
 .PHONY: all clean install test