Travis CI: Fix build error with arch
parent
dd41b4a367
commit
7bd4757fd7
18
.travis.yml
18
.travis.yml
|
@ -1,18 +1,18 @@
|
||||||
# vim: set ts=2 sts=2 sw=2 expandtab :
|
dist: bionic
|
||||||
dist: xenial
|
language: shell
|
||||||
sudo: required
|
os: linux
|
||||||
language: bash
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- python3-github
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
|
- curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
|
||||||
- chmod +x docker-build
|
- chmod +x docker-build
|
||||||
|
|
||||||
install:
|
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
|
- ./docker-build --name ${DISTRO} --config .build.yml --install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -20,14 +20,14 @@ script:
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
- provider: script
|
- provider: script
|
||||||
|
edge: true
|
||||||
script: ./docker-build --verbose --config .build.yml --release github
|
script: ./docker-build --verbose --config .build.yml --release github
|
||||||
skip_cleanup: true
|
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$"
|
condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- DISTRO="archlinux/base"
|
- DISTRO="archlinux:latest"
|
||||||
- DISTRO="debian:testing"
|
- DISTRO="debian:testing"
|
||||||
- DISTRO="fedora:latest"
|
- DISTRO="fedora:latest"
|
||||||
- DISTRO="ubuntu:20.04"
|
- DISTRO="ubuntu:20.04"
|
||||||
|
|
Loading…
Reference in New Issue