summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-04 16:16:02 +0200
committerPablo Barciela <[email protected]>2020-04-04 16:42:13 +0200
commit8db949fedac34685bf07f5b7cf04178905dd1e96 (patch)
treef16798b024f3d4a5b14d7177a434f11351a1f766
parentf46889f7321940d17414ec69bf3a5455437a1b9d (diff)
downloadpython-caja-8db949fedac34685bf07f5b7cf04178905dd1e96.tar.bz2
python-caja-8db949fedac34685bf07f5b7cf04178905dd1e96.tar.xz
Travis CI: Fix build error with arch
-rw-r--r--.travis.yml27
1 files changed, 14 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml
index fbbcf89..fb0ef1e 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:
@@ -25,12 +25,13 @@ script:
deploy:
- provider: pages
- github-token: $GITHUB_TOKEN
- #keep-history: true
+ token: $GITHUB_TOKEN
+ keep_history: false
skip_cleanup: true
- committer-from-gh: true
- target-branch: gh-pages
- local-dir: html-report
+ committer_from_gh: true
+ target_branch: gh-pages
+ local_dir: html-report
+ strategy: git
on:
all_branches: true
condition: ${DISTRO} =~ ^fedora.*$
@@ -53,7 +54,7 @@ after_success:
fi'
env:
- - DISTRO="archlinux/base"
+ - DISTRO="archlinux:latest"
- DISTRO="debian:testing"
- DISTRO="fedora:latest"
- DISTRO="ubuntu:devel"