2019-02-21 11:04:31 -06:00
|
|
|
# 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
|
2020-03-26 13:29:02 -06:00
|
|
|
- chmod +x docker-build
|
2019-02-21 11:04:31 -06:00
|
|
|
|
|
|
|
install:
|
|
|
|
- sudo apt-get install -y python3-pip python3-setuptools
|
|
|
|
- sudo pip3 install --upgrade pip
|
|
|
|
- sudo pip install PyGithub
|
2020-02-18 02:28:29 -06:00
|
|
|
- ./docker-build --name ${DISTRO} --config .build.yml --install
|
2019-02-21 11:04:31 -06:00
|
|
|
|
|
|
|
script:
|
2020-02-18 02:28:29 -06:00
|
|
|
- ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts
|
2019-02-21 11:04:31 -06:00
|
|
|
|
2019-04-04 09:44:53 -06:00
|
|
|
deploy:
|
|
|
|
- provider: script
|
2020-02-18 02:28:29 -06:00
|
|
|
script: ./docker-build --verbose --config .build.yml --release github
|
2019-04-04 09:44:53 -06:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$"
|
|
|
|
|
2019-02-21 11:04:31 -06:00
|
|
|
env:
|
|
|
|
- DISTRO="archlinux/base"
|
2019-10-07 08:12:06 -05:00
|
|
|
- DISTRO="debian:testing"
|
2019-11-24 05:30:07 -06:00
|
|
|
- DISTRO="fedora:latest"
|
2020-03-26 13:29:57 -06:00
|
|
|
- DISTRO="ubuntu:20.04"
|