From 6fcf4ab74f0b35cd5ba418801a099be1dfcaa473 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 2 Mar 2019 15:11:50 +0100 Subject: [PATCH 1/2] Travis CI: The 'sudo' tag is now deprecated [Travis are now recommending removing the __sudo__ tag](https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration). "_If you currently specify __sudo: false__ in your __.travis.yml__, we recommend removing that configuration_" --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 79287ccf6..19a4d8a0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ python: - "3.6" - "pypy" - "pypy3" -sudo: false env: - YTDL_TEST_SET=core - YTDL_TEST_SET=download @@ -32,8 +31,7 @@ matrix: fast_finish: true allow_failures: - env: YTDL_TEST_SET=download - - env: JYTHON=true; YTDL_TEST_SET=core - - env: JYTHON=true; YTDL_TEST_SET=download + - env: JYTHON=true before_install: - if [ "$JYTHON" == "true" ]; then ./devscripts/install_jython.sh; export PATH="$HOME/jython/bin:$PATH"; fi script: ./devscripts/run_tests.sh From f7c03d0254b7121fae5999bc04f25afbfb63e795 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 2 Mar 2019 15:14:38 +0100 Subject: [PATCH 2/2] Update .travis.yml --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 19a4d8a0d..82e81d078 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,8 @@ matrix: fast_finish: true allow_failures: - env: YTDL_TEST_SET=download - - env: JYTHON=true + - 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