34 lines
761 B
YAML
34 lines
761 B
YAML
dist: bionic
|
|
language: shell
|
|
os: linux
|
|
services:
|
|
- docker
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- python3-github
|
|
|
|
before_install:
|
|
- curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
|
|
- chmod +x docker-build
|
|
|
|
install:
|
|
- ./docker-build --name ${DISTRO} --config .build.yml --install
|
|
|
|
script:
|
|
- ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts
|
|
|
|
deploy:
|
|
- provider: script
|
|
edge: true
|
|
script: ./docker-build --verbose --config .build.yml --release github
|
|
on:
|
|
tags: true
|
|
condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$"
|
|
|
|
env:
|
|
- DISTRO="archlinux:latest"
|
|
- DISTRO="debian:testing"
|
|
- DISTRO="fedora:latest"
|
|
- DISTRO="ubuntu:20.04"
|