X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.travis.yml;h=92f326860f660fa67a79b31385c6b481dd8276c5;hb=7a6c204fcb6ba5a1a5149ea7a3c186eab87fc7e4;hp=696fa9a0830861037b91ecb4aa4ffb7ea829049c;hpb=ad348291bb1e23ded487ba0bbaba3c44c709ef94;p=youtube-dl diff --git a/.travis.yml b/.travis.yml index 696fa9a08..92f326860 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,27 @@ language: python -#specify the python version python: - "2.6" - "2.7" -notifications: - irc: "irc.freenode.org#youtube-dl" -#command to install the setup -install: -# command to run tests -script: nosetests test --nocapture + - "3.2" + - "3.3" + - "3.4" + - "3.5" + - "3.6" + - "pypy" + - "pypy3" +sudo: false +env: + - YTDL_TEST_SET=core + - YTDL_TEST_SET=download +matrix: + include: + - env: JYTHON=true; YTDL_TEST_SET=core + - env: JYTHON=true; YTDL_TEST_SET=download + fast_finish: true + allow_failures: + - env: YTDL_TEST_SET=download + - env: JYTHON=true; YTDL_TEST_SET=core + - env: JYTHON=true; YTDL_TEST_SET=download +before_install: + - if [ "$JYTHON" == "true" ]; then ./devscripts/install_jython.sh; export PATH="$HOME/jython/bin:$PATH"; fi +script: ./devscripts/run_tests.sh