diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-01-01 23:21:39 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-01-02 21:13:41 +0700 |
commit | 7a6c204fcb6ba5a1a5149ea7a3c186eab87fc7e4 (patch) | |
tree | a24d5bb560ec2bf45989583f4f26aa2d2f2ed5e6 | |
parent | d7cd9a9e847fab3ac3f0fb5b4ad2e4788aeea775 (diff) | |
download | youtube-dl-7a6c204fcb6ba5a1a5149ea7a3c186eab87fc7e4.zip youtube-dl-7a6c204fcb6ba5a1a5149ea7a3c186eab87fc7e4.tar.gz youtube-dl-7a6c204fcb6ba5a1a5149ea7a3c186eab87fc7e4.tar.bz2 |
[travis] Add Jython build
-rw-r--r-- | .travis.yml | 11 | ||||
-rwxr-xr-x | devscripts/install_jython.sh | 5 |
2 files changed, 12 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 7b175e9..92f3268 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 index 0000000..bafca4d --- /dev/null +++ b/devscripts/install_jython.sh @@ -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 |