summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-03 15:51:00 +0200
committerPablo Barciela <[email protected]>2020-04-03 17:50:46 +0200
commitd0ca6f5a34b4bed80712c94f00bc075045f0680e (patch)
treec6e47f220e7f2c8fd8522ef0c66d72ca8e8da3ed
parentc6b34f791092b128011a6875656b79f18e90b082 (diff)
downloadatril-d0ca6f5a34b4bed80712c94f00bc075045f0680e.tar.bz2
atril-d0ca6f5a34b4bed80712c94f00bc075045f0680e.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 1ca97864..d7b100ca 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"