diff options
author | Wu Xiaotian <[email protected]> | 2020-04-04 13:02:20 +0800 |
---|---|---|
committer | ZenWalker <[email protected]> | 2020-04-05 13:45:23 +0200 |
commit | c38e1972ff53c53c7dce99c14e767e3a7d8abe17 (patch) | |
tree | ef8db874559353fd42e153c2639a40d07fe2ca7f /.travis.yml | |
parent | 3a36bf7b55ff3da09cf6ff181be27e9f9b7cd97b (diff) | |
download | marco-c38e1972ff53c53c7dce99c14e767e3a7d8abe17.tar.bz2 marco-c38e1972ff53c53c7dce99c14e767e3a7d8abe17.tar.xz |
[ci] fix build environment issue
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/.travis.yml b/.travis.yml index fbbcf89d..c316da6a 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,18 +26,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: 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.*$" @@ -53,7 +55,7 @@ after_success: fi' env: - - DISTRO="archlinux/base" + - DISTRO="archlinux:latest" - DISTRO="debian:testing" - DISTRO="fedora:latest" - DISTRO="ubuntu:devel" |