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_"
This commit is contained in:
cclauss 2019-03-02 15:11:50 +01:00 committed by GitHub
parent a8f83f0c56
commit 6fcf4ab74f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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