travis: remove deprecated 'sudo: required'

As reported by travis lint:

 [x] [warn] on root: deprecated key: sudo
         (The key `sudo` has no effect anymore.)

Also copy to the top of the file well-tested .travis.yml tips from
sof/linux/.travis.yml

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2020-09-15 19:08:54 +00:00 committed by Liam Girdwood
parent 1336cac019
commit 81b21c33b6
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,9 @@
sudo: required
---
# Suggested tools that can save round-trips to github and a lot of time:
#
# yamllint .travis.yml
# ~/.gem/ruby/2.7.0/bin/travis lint .travis.yml
# yaml merge-expand .travis.yml exp.yml && diff -b -u .travis.yml exp.yml
language: c