forked from jacktrip/jacktrip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (34 loc) · 913 Bytes
/
.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
os:
- linux
- osx
language:
- cpp
# force updated ubuntu distribution with up-to-date gcc
dist: bionic
branches:
- main
- dev
env:
global:
- PKGS_OSX="jack qt rt-audio"
addons:
apt:
update: true
packages:
- qt5-default
- qttools5-dev-tools
- libjack-dev
- librtaudio-dev
before_script:
# manually install brew packages as addon: homebrew is broken in the default osx image
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install $PKGS_OSX; fi
# mac: workaround for homebrew qmake not being symlinked into $PATH
# see https://stackoverflow.com/questions/48847505/why-cant-i-use-qmake-on-mac-after-installing-it
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH="/usr/local/opt/qt/bin:$PATH"; fi
script:
- cd src
- ./build
after_success:
- echo "Success!"
after_failure:
- echo "Something went wrong :("