summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2020-04-06 14:07:21 +0800
committerZenWalker <[email protected]>2020-04-06 14:04:40 +0200
commitdaf0c7687625d014145381450d9c4dfe772c17e1 (patch)
tree3e1ebfe52ffecd4f4da2c7fd369ff023976e207f /.travis.yml
parente03216c9c6e6632fefe85c97166c3b55dfde4f7e (diff)
downloadmate-media-daf0c7687625d014145381450d9c4dfe772c17e1.tar.bz2
mate-media-daf0c7687625d014145381450d9c4dfe772c17e1.tar.xz
[ci] update build environment
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml30
1 files changed, 16 insertions, 14 deletions
diff --git a/.travis.yml b/.travis.yml
index 08b8c26..360f48c 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:
@@ -36,24 +37,25 @@ after_success:
deploy:
- provider: pages
- github-token: $GITHUB_TOKEN
- #keep-history: true
- skip_cleanup: true
- committer-from-gh: true
- target-branch: gh-pages
- local-dir: html-report
+ edge: true
+ token: $GITHUB_TOKEN
+ keep_history: false
+ committer_from_gh: true
+ target_branch: gh-pages
+ local_dir: html-report
+ 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.*$"
env:
- - DISTRO="archlinux/base"
+ - DISTRO="archlinux:latest"
- DISTRO="debian:testing"
- DISTRO="fedora:latest"
- DISTRO="ubuntu:devel"