2020-04-06 18:04:04 -05:00
|
|
|
dist: bionic
|
|
|
|
language: shell
|
|
|
|
os: linux
|
2019-02-21 11:04:31 -06:00
|
|
|
services:
|
|
|
|
- docker
|
2020-04-06 18:04:04 -05:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-06-22 17:14:35 -05:00
|
|
|
- python3-pip
|
|
|
|
- python3-setuptools
|
2019-02-21 11:04:31 -06:00
|
|
|
|
|
|
|
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:
|
2020-06-22 17:14:35 -05:00
|
|
|
- pip3 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
|
|
|
|
2020-04-24 20:45:19 -05:00
|
|
|
notifications:
|
|
|
|
irc:
|
2020-07-30 13:58:54 -05:00
|
|
|
if: (tag OR branch = "1.24") AND
|
2020-04-24 20:45:19 -05:00
|
|
|
repo = "mate-desktop/mate-terminal"
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.org#mate-dev"
|
|
|
|
template:
|
|
|
|
- "[%{repository_name}] %{author}: %{commit_subject}"
|
|
|
|
- "[%{branch}] %{commit} %{message} %{build_url}"
|
|
|
|
on_success: never
|
|
|
|
on_failure: always
|
|
|
|
|
2019-04-04 09:44:53 -06:00
|
|
|
deploy:
|
|
|
|
- provider: script
|
2020-04-06 18:04:04 -05:00
|
|
|
edge: true
|
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
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$"
|
|
|
|
|
2019-02-21 11:04:31 -06:00
|
|
|
env:
|
2020-04-06 18:04:04 -05:00
|
|
|
- DISTRO="archlinux:latest"
|
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"
|