summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-06 16:16:30 +0200
committerPablo Barciela <[email protected]>2020-04-06 18:03:28 +0200
commita396a93f8a10affd3cf7099d3e91a8fa72b6ada2 (patch)
tree2ed21166dbd0f5df9a3216834862da800e8f6a0e /.travis.yml
parentf735fb41b6d123e24ecdf66f416286a23e46cd0a (diff)
downloadmate-user-guide-a396a93f8a10affd3cf7099d3e91a8fa72b6ada2.tar.bz2
mate-user-guide-a396a93f8a10affd3cf7099d3e91a8fa72b6ada2.tar.xz
Travis CI: Fix build error with arch
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml31
1 files changed, 16 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml
index aca5288..9bb8c40 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:
@@ -14,9 +17,6 @@ before_install:
- 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:
@@ -24,18 +24,19 @@ script:
deploy:
- provider: pages
- github-token: $GITHUB_TOKEN
- #keep-history: true
- skip_cleanup: true
- committer-from-gh: true
- target-branch: gh-pages
- local-dir: help-html
+ edge: true
+ token: $GITHUB_TOKEN
+ keep_history: false
+ committer_from_gh: true
+ target_branch: gh-pages
+ local_dir: help-html
+ strategy: git
on:
all_branches: true
condition: ${DISTRO} =~ ^fedora.*$
- 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.*$"
@@ -52,7 +53,7 @@ after_success:
fi'
env:
- - DISTRO="archlinux/base"
+ - DISTRO="archlinux:latest"
- DISTRO="debian:testing"
- DISTRO="fedora:latest"
- DISTRO="ubuntu:20.04"