34 lines
883 B
YAML
34 lines
883 B
YAML
# vim: set ts=2 sts=2 sw=2 expandtab :
|
|
dist: xenial
|
|
sudo: required
|
|
language: bash
|
|
services:
|
|
- docker
|
|
|
|
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:
|
|
- 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:
|
|
- ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts
|
|
|
|
deploy:
|
|
- provider: script
|
|
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="debian:testing"
|
|
- DISTRO="fedora:latest"
|
|
- DISTRO="ubuntu:20.04"
|