summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-02 22:16:28 +0200
committerraveit65 <[email protected]>2020-04-02 22:16:28 +0200
commit508a4bd6ef9d14d91224c9236e20d7e47cd97f51 (patch)
treedd5569ffc5390bc9cd9cf76144d651e130a8dda7
parentb22eaf35cbfd8b7e0d5b6f12d721add08c9b853e (diff)
downloadmate-desktop-508a4bd6ef9d14d91224c9236e20d7e47cd97f51.tar.bz2
mate-desktop-508a4bd6ef9d14d91224c9236e20d7e47cd97f51.tar.xz
Travis CI: update travis.yml
- fix build error with archlinux on Travis CI - Avoid warning for build config validation - change archlinux docker image name
-rw-r--r--.travis.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index ac676ba..84ed1ba 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,18 +1,21 @@
# vim: set ts=2 sts=2 sw=2 expandtab :
-dist: xenial
+dist: bionic
sudo: required
-language: bash
+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:
@@ -21,13 +24,12 @@ script:
deploy:
- provider: script
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:20.04"