diff --git a/.travis.yml b/.travis.yml index c6cc7a994..8c03c4685 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,22 @@ python: - "2.7" - "3.3" - "3.4" -script: nosetests test --verbose + +before_install: + - uname -a + - lsb_release --all + +install: + - sudo apt-get --assume-yes install pandoc + +script: + - make clean + - make + - make test + - sudo make install + - which youtube-dl + - youtube-dl --version + notifications: email: - filippo.valsorda@gmail.com diff --git a/Makefile b/Makefile index 2da92863f..bf6e554c0 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,7 @@ youtube-dl: youtube_dl/*.py youtube_dl/*/*.py chmod a+x youtube-dl README.md: youtube_dl/*.py youtube_dl/*/*.py - COLUMNS=80 python -m youtube_dl --help | python devscripts/make_readme.py + COLUMNS=80 python -m youtube_dl.__main__ --help | python devscripts/make_readme.py README.txt: README.md pandoc -f markdown -t plain README.md -o README.txt