Remove deprecated sudo config in .travis.yml

It's deprecated for a while, reference:
- https://blog.travis-ci.com/2018-10-04-combining-linux-infrastructures
This commit is contained in:
Peter Dave Hello 2020-11-07 18:24:42 +08:00 committed by Zed
parent f3ebb87e23
commit e105426f0f

View file

@ -21,7 +21,6 @@ jobs:
- docker push $IMAGE_NAME:latest
- stage: test
if: (NOT type IN (pull_request)) AND (branch = master)
sudo: required
dist: bionic
language: python
python:
@ -46,7 +45,6 @@ jobs:
- pytest --headless -n 8 --reruns 10 --reruns-delay 2
- stage: pr
if: type IN (pull_request)
sudo: required
dist: bionic
language: python
python: