summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-03 17:55:18 +0200
committerPablo Barciela <[email protected]>2020-04-03 18:27:53 +0200
commit62cd595968b789d2218c621c532787a18f46b18f (patch)
tree3a2dcda7e3ca39085c4bd0663cc866f8a4137d82
parentcbbf133bd515bab90a338e235438acd324d6713f (diff)
downloadmate-session-manager-62cd595968b789d2218c621c532787a18f46b18f.tar.bz2
mate-session-manager-62cd595968b789d2218c621c532787a18f46b18f.tar.xz
Travis CI: Fix build error with arch
-rw-r--r--.travis.yml17
1 files changed, 8 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 1ca9786..d7b100c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,12 @@
-# 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
branches:
except:
@@ -15,9 +18,6 @@ before_install:
- chmod +x docker-build gen-index
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:
@@ -36,7 +36,6 @@ deploy:
condition: ${DISTRO} =~ ^fedora.*$
- provider: script
script: ./docker-build --verbose --config .build.yml --release github
- skip_cleanup: true
on:
tags: true
condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$"
@@ -53,7 +52,7 @@ after_success:
fi'
env:
- - DISTRO="archlinux/base"
+ - DISTRO="archlinux:latest"
- DISTRO="debian:testing"
- DISTRO="fedora:latest"
- DISTRO="ubuntu:devel"