浏览代码

travis: update to focal

This updates to Ubuntu 20.04 (focal) and uses it's provided Meson version.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
Stephan Lachnit 4 年之前
父节点
当前提交
90d05eef42
共有 1 个文件被更改,包括 2 次插入9 次删除
  1. 2 9
      .travis.yml

+ 2 - 9
.travis.yml

@@ -1,4 +1,4 @@
-dist: xenial
+dist: focal
 language: c
 language: c
 compiler: gcc
 compiler: gcc
 sudo: false
 sudo: false
@@ -7,20 +7,13 @@ addons:
     packages:
     packages:
       - clang
       - clang
       - clang-format
       - clang-format
-      - python3-pip
-      - python3-setuptools
       - libsystemd-dev
       - libsystemd-dev
-      - ninja-build
       - libdbus-1-dev
       - libdbus-1-dev
+      - meson
   artifacts:
   artifacts:
     paths:
     paths:
     - $(git ls-files -o | tr "\n" ":")
     - $(git ls-files -o | tr "\n" ":")
 
 
-before_script:
-  - pip3 install wheel
-  - pip3 install --upgrade 'meson==0.52.0'
-  - meson --version
-
 script:
 script:
   - ./scripts/format-check.sh
   - ./scripts/format-check.sh
   - ./bootstrap.sh -Dwith-examples=true
   - ./bootstrap.sh -Dwith-examples=true