]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
travis: Resolve warnings, info messages from Travis
authorStephen Finucane <stephen@that.guru>
Sat, 18 Apr 2020 12:21:13 +0000 (13:21 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 18 Apr 2020 12:23:28 +0000 (13:23 +0100)
The following were reported by Travis' build config validation:

- root: deprecated key 'sudo' (The key `sudo` has no effect anymore.)
- env: key 'matrix' is an alias for 'jobs', using 'jobs'
- root: key 'matrix' is an alias for 'jobs', using 'jobs'
- root: missing 'os', using the default 'linux'

Resolve all of the above.

Signed-off-by: Stephen Finucane <stephen@that.guru>
.travis.yml

index 5f15f59eea47cf959ab673f4041f0f4a531eeccc..50b87a6c3bc0573fdf1f098f687154dc553105d6 100644 (file)
@@ -1,7 +1,7 @@
 language: python
 
+os: linux
 dist: xenial
-sudo: false
 
 python:
   - 3.6
@@ -16,14 +16,14 @@ services:
   - postgresql
 
 env:
-  matrix:
+  jobs:
     - PW_TEST_DB_TYPE=postgres PW_TEST_DB_USER=postgres
     - PW_TEST_DB_TYPE=mysql PW_TEST_DB_USER=root
   global:
     - PW_TEST_DB_PASS=""
     - PW_TEST_DB_HOST="localhost"
 
-matrix:
+jobs:
   include:
     - addons:
         mariadb: 10.3