From 0bffe371cea208bbb944fef69b2ca5e44f4e1aed Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Sat, 4 Apr 2020 12:00:35 +0800 Subject: [ci] fix build environment issue --- .travis.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 70780f5..cbd4919 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,19 @@ # vim: set ts=2 sts=2 sw=2 expandtab : -dist: xenial -sudo: required -language: bash +dist: bionic +language: shell +os: linux services: - docker +addons: + apt: + packages: + - python3-github before_install: - curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build - chmod +x docker-build install: - - sudo apt-get install -y python3-pip python3-setuptools - - sudo pip3 install --upgrade pip - - sudo pip install PyGithub - ./docker-build --name ${DISTRO} --config .build.yml --install script: @@ -27,7 +28,7 @@ deploy: condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$" env: - - DISTRO="archlinux/base" + - DISTRO="archlinux:latest" - DISTRO="debian:testing" - DISTRO="fedora:latest" - DISTRO="ubuntu:20.04" -- cgit v1.2.1