summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-02 21:33:14 +0200
committerraveit65 <[email protected]>2020-04-02 21:33:14 +0200
commitc2aacf74007fddf4c90153d42061d330c0f657b1 (patch)
treea833d37eadbc21950b120a6462a5ed59612c8464
parent0dd28b786cb0fbf547051a83427d4e8c8e17f898 (diff)
downloadmate-desktop-c2aacf74007fddf4c90153d42061d330c0f657b1.tar.bz2
mate-desktop-c2aacf74007fddf4c90153d42061d330c0f657b1.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 06986bd..6094b0a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,16 @@
# 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
+
branches:
except:
- gh-pages
@@ -15,9 +21,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 +39,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 +55,7 @@ after_success:
fi'
env:
- - DISTRO="archlinux/base"
+ - DISTRO="archlinux:latest"
- DISTRO="debian:testing"
- DISTRO="fedora:latest"
- DISTRO="ubuntu:devel"