]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[travis] Add Jython build
authorSergey M․ <dstftw@gmail.com>
Mon, 1 Jan 2018 16:21:39 +0000 (23:21 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 2 Jan 2018 14:13:41 +0000 (21:13 +0700)
.travis.yml
devscripts/install_jython.sh [new file with mode: 0755]

index 7b175e9c97b62d5a8e4955aecfe3397f7456ed53..92f326860f660fa67a79b31385c6b481dd8276c5 100644 (file)
@@ -14,11 +14,14 @@ 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
-notifications:
-  email:
-    - filippo.valsorda@gmail.com
-    - yasoob.khld@gmail.com
diff --git a/devscripts/install_jython.sh b/devscripts/install_jython.sh
new file mode 100755 (executable)
index 0000000..bafca4d
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+wget http://central.maven.org/maven2/org/python/jython-installer/2.7.1/jython-installer-2.7.1.jar
+java -jar jython-installer-2.7.1.jar -s -d "$HOME/jython"
+$HOME/jython/bin/jython -m pip install nose