summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-10 03:49:38 +0200
committerPablo Barciela <[email protected]>2020-04-10 03:49:38 +0200
commit9c003bcb51e1dabe7af8b2fd8877022de7cde398 (patch)
tree2617df7eac8668e1e7cba961162ed53c2b714d41
parent05544d4a0b9da80ef205ef46ac59dc5f705d0665 (diff)
downloadmate-power-manager-9c003bcb51e1dabe7af8b2fd8877022de7cde398.tar.bz2
mate-power-manager-9c003bcb51e1dabe7af8b2fd8877022de7cde398.tar.xz
Travis CI: Fix build error with arch
-rw-r--r--.travis.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index cb00516..af6b113 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,18 +1,18 @@
-# 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 +20,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:20.04"