forked from musescore/MuseScore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
98 lines (95 loc) · 2.93 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
98
language: cpp
sudo: false
env:
global:
- "ARTIFACTS_AWS_REGION=us-east-1"
- "ARTIFACTS_S3_BUCKET=vtest.musescore.org"
- secure: "lVj+9BBtJIjW3CwfXstvNyYVn0AkXEwTyiPmp4BprcheP78WIqZNC0uG2RjG9MgyHbZkprE7zRdqR9YPWTitg+XYkkD6+jPHRO+PQFLARuiTAX9yhUO53yQQZC2wMkQ#+bFuZsFmz1rfAsPHx3bXeZAMsz+Qnh8D2yIqqV7qxwWw="
- secure: "L+66yQZIZJTyIAfrG89ncKIkMAr4+UvaOZMsd420OSdnEH9kpdm5Kws8rG0VVLAtqhfQfi3K9DuC8Ub7IiXqil//h+I9WJ2LHKirWK0m/MkhTFC6hfi0uSnQCX/jud3Keewxf3ovgiKQvIw6VR37UC50YJM9+KhZKtsNYhGAdos="
# Branches for uploads of Linux nightly builds & stable release AppImages
- "APPIMAGE_UPLOAD_BRANCHES=\"master 2.0.3\""
# AppImages are built on all branches, but only uploaded on those listed
matrix:
fast_finish: true
allow_failures:
- env: "JOB=AppImage_64bit"
- env: "JOB=AppImage_32bit"
include:
# 1st parallel build job - debug build on Ubuntu
- env: "JOB=Tests"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- cmake
- alsa
- libsndfile1
- wget
- make
- ant
- curl
- libasound2-dev
- portaudio19-dev
- libsndfile1-dev
- zlib1g-dev
- libfreetype6-dev
- libfontconfig1-dev
- lame
- libmp3lame-dev
- libegl1-mesa-dev
- libegl1-mesa
- ccache
- libpulse-dev
cache:
directories:
- $HOME/.ccache
before_install:
- "source build/travis/job1_Tests/environment.sh"
install:
- "./build/travis/job1_Tests/install.sh"
before_script:
- "./build/travis/job1_Tests/before_script.sh"
script:
- "./build/travis/job1_Tests/run_tests.sh"
after_script:
- 'ARTIFACTS_PATHS="$(ls vtest/html | tr "\n" ":")" artifacts upload'
# 2nd parallel build job - portable Linux AppImage 64-bit build on CentOS
- env: "JOB=AppImage_64bit"
addons:
apt:
packages:
- bsdtar
- curl
- zsync
services:
- docker
script:
- "./build/travis/job2_AppImage/build.sh --upload-branches $APPIMAGE_UPLOAD_BRANCHES"
# 3rd parallel build job - portable Linux AppImage 32-bit build on CentOS
- env: "JOB=AppImage_32bit"
addons:
apt:
packages:
- bsdtar
- curl
- zsync
services:
- docker
script:
- "./build/travis/job2_AppImage/build.sh --32bit --upload-branches $APPIMAGE_UPLOAD_BRANCHES"
notifications:
recipients:
email:
on_success: change
on_failure: always
irc:
channels:
- "irc.freenode.net#musescore"
on_success: change
on_failure: change
webhooks:
# trigger Buildtime Trend Service to parse Travis CI log
- https://buildtimetrend.herokuapp.com/travis