summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2020-04-04 13:00:40 +0800
committerZenWalker <[email protected]>2020-04-04 15:15:36 +0200
commit0ea1841d788935cc58db80f69c749c47f7146244 (patch)
treeadea7faf8215b0196196aa1a77b73f037ab3aabf /.travis.yml
parent28a6895df5fa4a1a60c794ed5e85e31d764e85e7 (diff)
downloadpluma-0ea1841d788935cc58db80f69c749c47f7146244.tar.bz2
pluma-0ea1841d788935cc58db80f69c749c47f7146244.tar.xz
[ci] fix build environment issue
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
1 files changed, 14 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index 54ae69d2..f1a7bcda 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,13 @@
# 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 +19,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 +26,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 +55,7 @@ after_success:
fi'
env:
- - DISTRO="archlinux/base"
+ - DISTRO="archlinux:latest"
- DISTRO="debian:testing"
- DISTRO="fedora:latest"
- DISTRO="ubuntu:19.10"