-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (41 loc) · 1.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
dist: focal
language: shell
os: linux
services:
- docker
addons:
apt:
packages:
- python3-pip
- python3-setuptools
before_install:
- curl -Ls -o docker-build https://github.com/cafe-desktop/cafe-dev-scripts/raw/master/travis/docker-build
- chmod +x docker-build
install:
- pip3 install PyGithub
- ./docker-build --name ${DISTRO} --config .build.yml --install
script:
- ./docker-build --name ${DISTRO} --verbose --config .build.yml --build autotools
notifications:
irc:
if: (tag OR branch = "1.24") AND
repo = "cafe-desktop/cafe-common"
channels:
- "irc.freenode.org#cafe-dev"
template:
- "[%{repository_name}] %{author}: %{commit_subject}"
- "[%{branch}] %{commit} %{message} %{build_url}"
on_success: never
on_failure: always
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"
- DISTRO="debian"
- DISTRO="fedora"
- DISTRO="ubuntu"