]> jfr.im git - yt-dlp.git/blobdiff - .travis.yml
[skip travis] adding automerge support
[yt-dlp.git] / .travis.yml
index cc21fae8f41ca567a2367d3515f981d8ec0af759..c53c77e07fae8546a57ef783f3b5a7a85c4f011e 100644 (file)
@@ -6,14 +6,36 @@ python:
   - "3.3"
   - "3.4"
   - "3.5"
-sudo: false
-script: nosetests test --verbose
-notifications:
-  email:
-    - filippo.valsorda@gmail.com
-    - phihag@phihag.de
-    - yasoob.khld@gmail.com
-#  irc:
-#    channels:
-#      - "irc.freenode.org#youtube-dl"
-#    skip_join: true
+  - "3.6"
+  - "pypy"
+  - "pypy3"
+dist: trusty
+env:
+  - YTDL_TEST_SET=core
+jobs:
+  include:
+    - python: 3.7
+      dist: xenial
+      env: YTDL_TEST_SET=core
+    - python: 3.8
+      dist: xenial
+      env: YTDL_TEST_SET=core
+    - python: 3.8-dev
+      dist: xenial
+      env: YTDL_TEST_SET=core
+    - env: JYTHON=true; YTDL_TEST_SET=core
+    - name: flake8
+      python: 3.8
+      dist: xenial
+      install: pip install flake8
+      script: flake8 .
+  fast_finish: true
+  allow_failures:
+    - env: YTDL_TEST_SET=download
+    - env: JYTHON=true; YTDL_TEST_SET=core
+before_install:
+  - if [ "$JYTHON" == "true" ]; then ./devscripts/install_jython.sh; export PATH="$HOME/jython/bin:$PATH"; fi
+before_script:
+  - rm -rf /youtube_dlc/*
+  - cp /youtube_dl/* /youtube_dlc
+script: ./devscripts/run_tests.sh