X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.travis.yml;h=79287ccf68630d8b669d8b646e9bd50b5117689c;hb=c2dd2dc086653f46defe0bc6bee9b5e339e67dea;hp=0c62e4729681c7a7a865bcedad24f8b6b2d76e5a;hpb=1ca63e3ae3f7f61a9c38e04eec421faa42a1faee;p=youtube-dl diff --git a/.travis.yml b/.travis.yml index 0c62e4729..79287ccf6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,39 @@ 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 --verbose + - "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: + - python: 3.7 + dist: xenial + env: YTDL_TEST_SET=core + - python: 3.7 + dist: xenial + env: YTDL_TEST_SET=download + - python: 3.8-dev + dist: xenial + env: YTDL_TEST_SET=core + - python: 3.8-dev + dist: xenial + env: YTDL_TEST_SET=download + - 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