2016-02-07 01:29:34 +01:00
|
|
|
language: cpp
|
2015-04-02 13:00:22 +02:00
|
|
|
sudo: false
|
|
|
|
|
2016-02-07 01:29:34 +01:00
|
|
|
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="
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
allow_failures:
|
2019-12-12 08:50:09 +01:00
|
|
|
- env: "JOB=MacOS_lupdate"
|
2016-03-30 04:14:49 +02:00
|
|
|
- env: "JOB=AppImage_x86_64"
|
2016-05-13 00:12:16 +02:00
|
|
|
- env: "JOB=MacOSX"
|
2016-02-07 01:29:34 +01:00
|
|
|
include:
|
2019-12-12 08:50:09 +01:00
|
|
|
# 1st parallel build job - update translations on macOS, the shortest and quickest of this set
|
|
|
|
- env: "JOB=MacOS_lupdate"
|
|
|
|
os: osx
|
|
|
|
before_install:
|
|
|
|
- source build/travis/job_macos_lupdate/before_install.sh
|
|
|
|
install:
|
|
|
|
- source ./build/travis/job_macos_lupdate/install.sh
|
|
|
|
script:
|
|
|
|
- "./build/travis/job_macos_lupdate/script.sh"
|
|
|
|
|
|
|
|
# 2nd parallel build job - debug build on Ubuntu
|
2016-02-07 01:29:34 +01:00
|
|
|
- env: "JOB=Tests"
|
2018-01-08 16:36:15 +01:00
|
|
|
sudo: true
|
|
|
|
dist: trusty
|
2016-02-07 01:29:34 +01:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.9
|
2016-06-23 20:08:14 +02:00
|
|
|
# not white listed - alsa
|
2016-02-07 01:29:34 +01:00
|
|
|
- libsndfile1
|
|
|
|
- wget
|
|
|
|
- make
|
|
|
|
- ant
|
|
|
|
- curl
|
|
|
|
- libasound2-dev
|
|
|
|
- portaudio19-dev
|
2017-05-14 17:43:28 +02:00
|
|
|
- libportmidi-dev
|
2016-02-07 01:29:34 +01:00
|
|
|
- libsndfile1-dev
|
|
|
|
- zlib1g-dev
|
|
|
|
- libfreetype6-dev
|
|
|
|
- libfontconfig1-dev
|
|
|
|
- lame
|
|
|
|
- libmp3lame-dev
|
|
|
|
- libegl1-mesa-dev
|
|
|
|
- libegl1-mesa
|
|
|
|
- ccache
|
|
|
|
- libpulse-dev
|
2017-09-12 09:34:15 +02:00
|
|
|
- libgtk2.0-bin
|
2018-03-19 13:59:50 +01:00
|
|
|
- expect
|
2016-02-07 01:29:34 +01:00
|
|
|
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:
|
2016-06-18 17:00:56 +02:00
|
|
|
- ARTIFACTS_CACHE_CONTROL='public, max-age=315360000'
|
2016-02-07 01:29:34 +01:00
|
|
|
- 'ARTIFACTS_PATHS="$(ls vtest/html | tr "\n" ":")" artifacts upload'
|
2016-03-30 04:14:49 +02:00
|
|
|
|
2019-12-12 08:50:09 +01:00
|
|
|
# 3rd parallel build job - portable Linux AppImage (x86_64)
|
2016-03-30 04:14:49 +02:00
|
|
|
- env: "JOB=AppImage_x86_64"
|
2016-02-07 01:29:34 +01:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- curl
|
2017-02-18 15:56:10 +01:00
|
|
|
- expect
|
2016-02-07 01:29:34 +01:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
script:
|
2019-07-11 06:28:20 +02:00
|
|
|
- "if [[ $APPIMAGE_BUILD_ARCHS == *x86_64* ]]; then TARGET_ARCH=x86_64 ./build/travis/job2_AppImage/build.sh --upload-branches $APPIMAGE_UPLOAD_BRANCHES; fi"
|
2016-03-30 04:14:49 +02:00
|
|
|
|
2016-04-29 19:14:14 +02:00
|
|
|
- env: "JOB=MacOSX"
|
|
|
|
os: osx
|
2019-06-30 06:05:36 +02:00
|
|
|
osx_image: xcode9.4
|
2016-04-29 19:14:14 +02:00
|
|
|
before_install:
|
|
|
|
- source build/travis/job_macos/before_install.sh
|
|
|
|
install:
|
2017-03-27 16:16:15 +02:00
|
|
|
- source ./build/travis/job_macos/install.sh
|
2016-04-29 19:14:14 +02:00
|
|
|
script:
|
|
|
|
- "./build/travis/job_macos/script.sh"
|
|
|
|
|
2012-06-06 14:35:59 +02:00
|
|
|
notifications:
|
|
|
|
email:
|
2016-07-05 18:42:32 +02:00
|
|
|
recipients:
|
2016-07-15 22:04:35 +02:00
|
|
|
secure: "rXxCEnDk34qZ4+sa7vK7SSudTzzaP9MqOovf60J01NvqO36sNO+SADt52nidDH8F4ZSCSnGJIaTxb5Xo0xVEVujWoXeib1yg/BbmHsw6ZyuwGI1t2CBPtenlPRL4e3WUrlOdXh4jnHUzam7/Fw3RQN7kjn115qM+qMlFLTq7Rqw="
|
2012-06-06 14:35:59 +02:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
irc:
|
|
|
|
channels:
|
2016-07-15 22:04:35 +02:00
|
|
|
secure: "m/euey6Ov37mM7VY6EFfpy2iIE4QyjQoPTVNffCx7xOk99jr5uWMAKr5UlLItLDmviHgnmNHZEOPXwpoRPZA9kDnpKRuE4lPhMYrHqf5uX/7Zw8D84PbNGJgBAuciVLB0Bn+pm1zYtMNb38yu2VEunDED1Q92CegAjygknb/gFw="
|
2012-06-06 14:35:59 +02:00
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
2016-07-05 18:42:32 +02:00
|
|
|
skip_join: true # reduces spam. Channel must not have mode +n set.
|
2015-04-15 09:29:03 +02:00
|
|
|
webhooks:
|
|
|
|
# trigger Buildtime Trend Service to parse Travis CI log
|
|
|
|
- https://buildtimetrend.herokuapp.com/travis
|
2018-12-21 10:59:48 +01:00
|
|
|
# telegram webhooks
|
|
|
|
- http://jamespi.hopto.org/testwebhooks/travishooks.php
|
2019-09-04 17:12:16 +02:00
|
|
|
- https://musebot.k8s.wsmgroup.ru/webhook/travis/
|