summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2020-04-06 14:14:34 +0800
committerZenWalker <[email protected]>2020-04-06 13:19:06 +0200
commit0db99e0ab5c70a17abe29a047d7d910040646c66 (patch)
tree7d30f968076163c0475703442dc9a65dd25cc098
parentc02b2af0fd5a6f89d6448b938428a074988e6693 (diff)
downloadmate-icon-theme-0db99e0ab5c70a17abe29a047d7d910040646c66.tar.bz2
mate-icon-theme-0db99e0ab5c70a17abe29a047d7d910040646c66.tar.xz
[ci] avoid deprecated skip_clean
-rw-r--r--.travis.yml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index 3b82767..54e682a 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:
@@ -20,14 +21,14 @@ script:
deploy:
- provider: script
+ edge: true
script: ./docker-build --verbose --config .build.yml --release github
- skip_cleanup: true
on:
tags: true
condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$"
env:
- - DISTRO="archlinux/base"
+ - DISTRO="archlinux:latest"
- DISTRO="debian:testing"
- DISTRO="fedora:latest"
- DISTRO="ubuntu:devel"