forked from libretime/libretime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
97 lines (91 loc) · 2.15 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
dist: xenial
services:
- postgresql
env:
global:
- ENVIRONMENT=testing
- LIBRETIME_LOG_DIR=/tmp/log/libretime
before_install:
- sudo add-apt-repository -y ppa:libretime/libretime
- sudo apt-get -q update
addons:
apt:
packages:
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-ugly
- libgirepository1.0-dev
- liquidsoap
- liquidsoap-plugin-faad
- liquidsoap-plugin-lame
- liquidsoap-plugin-mad
- liquidsoap-plugin-vorbis
- python3-gst-1.0
- silan
- gcc
- gir1.2-gtk-3.0
- python3-gi
- python3-gi-cairo
- python-cairo
- pkg-config
- libcairo2-dev
jobs:
include:
# - language: php
# php: 7.3
# stage: test
# - language: php
# php: 7.2
# stage: test
- language: php
php: 7.0
stage: test
- language: php
php: 5.6
stage: test
# - language: python
# python: 3.8
# stage: test
# - language: python
# python: 3.6
# stage: test
- language: python
python: 3.5
stage: test
- stage: deploy
addons:
apt:
packages:
dos2unix
script:
./travis/release.sh
deploy:
- provider: releases
token: $GITHUB_TOKEN
file: build/libretime-*.tar.gz
edge: true
on:
tags: true
allow_failures:
# https://github.com/LibreTime/libretime/issues/779
# - language: php
# php: 7.3
# - language: php
# php: 7.2
# Ubuntu Bionic cloud image uses Python 3.6.9
# - language: python
# python: 3.8
# https://github.com/LibreTime/libretime/issues/1041
# - language: python
# python: 3.5
- language: php
php: 5.6
install: ./travis/install.sh
before_script:
- psql -c 'CREATE DATABASE libretime;' -U postgres
- psql -c "CREATE USER libretime WITH PASSWORD 'libretime';" -U postgres
- psql -c 'GRANT CONNECT ON DATABASE libretime TO libretime;' -U postgres
- psql -c 'ALTER USER libretime CREATEDB;' -U postgres
- mkdir -p /tmp/log/libretime
script: ./travis/test.sh