forked from rncbc/qsynth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (30 loc) · 890 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
language: cpp
sudo: required
dist: trusty
notifications:
email:
recipients:
on_success: change
on_failure: always
branches:
only:
- master
env:
- QT_SELECT=4
- QT_SELECT=5
before_install:
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
- if [[ "$QT_SELECT" = "5" ]]; then sudo add-apt-repository --yes ppa:beineri/opt-qt59-trusty; fi
- sudo apt-get update -qq
install:
- if [[ "$QT_SELECT" = "4" ]]; then sudo apt-get install -qq libqt4-dev; fi
- if [[ "$QT_SELECT" = "5" ]]; then sudo apt-get install -qq qt59base qt59tools qt59x11extras; source /opt/qt*/bin/qt*-env.sh; fi
- sudo apt-get install -qq libfluidsynth-dev
before_script:
- git fetch --unshallow --tags -q
- ./autogen.sh
script:
- if [ "$QT_SELECT" = "4" ]; then ./configure --enable-qt4; fi
- if [ "$QT_SELECT" = "5" ]; then ./configure; fi
- make && sudo make install