From 3665ea634677d23cde6ba9a13230f2a2bce206cb Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Mon, 30 Aug 2021 14:02:20 +0300 Subject: [PATCH] Lint .travis.yml Fixes warnings from https://config.travis-ci.com/explore [warn] on jobs.include: deprecated key: "sudo" (The key `sudo` has no effect anymore.) [warn] on jobs.include: deprecated key: "sudo" (The key `sudo` has no effect anymore.) [warn] on root: deprecated key: "sudo" (The key `sudo` has no effect anymore.) [info] on root: the key matrix is an alias for jobs, using jobs [info] on env: the key matrix is an alias for jobs, using jobs [info] on root: missing os, using the default "linux" --- .travis.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5971922c..9f1115ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,9 @@ language: python +os: linux +dist: xenial -sudo: false env: - matrix: + jobs: - DOCS="true" - TESTS="true" global: @@ -14,16 +15,12 @@ python: - 3.5 - 3.6 -matrix: +jobs: include: - python: 3.7 - dist: xenial - sudo: true env: - DOCS="true" - python: 3.7 - dist: xenial - sudo: true env: - TESTS="true"