summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2020-04-04 12:00:35 +0800
committerraveit65 <[email protected]>2020-04-04 14:25:25 +0200
commit613d1ca916e01faa3be371faf9c97145864f10fb (patch)
tree615f5525b4d209bc30c1411ac17587f8f3386cb6 /.travis.yml
parentc591207c038db540340598a655025861372057ee (diff)
downloadmozo-613d1ca916e01faa3be371faf9c97145864f10fb.tar.bz2
mozo-613d1ca916e01faa3be371faf9c97145864f10fb.tar.xz
[ci] fix build environment issue
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 8 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 38edecf..a9c07fc 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:devel"