forked from SoundScapeRenderer/ssr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
133 lines (124 loc) · 3.47 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
language: cpp
dist: bionic
git:
depth: 3
addons:
apt:
#update: true
packages: &default-packages
- libasio-dev
- libwebsocketpp-dev
- qt5-default
- libqt5opengl5-dev
- libecasoundc-dev
#- doxygen
- ecasound
- libxml2-dev
- libfftw3-dev
- libsndfile1-dev
- libjack-dev
- libjack0
- help2man
- jackd1
- pkg-config
- libtool
homebrew:
update: true
packages:
- asio
- autoconf
#- doxygen
- ecasound
- fftw
- jack
- liblo
- libsndfile
- libxml2
- qt
# using brew, it's not possible to install needed perl dependencies for
# help2man (Locale::gettext), therefore best disabled for now
#- help2man
matrix:
include:
- name: Linux with GCC 9
os: linux
env: CC=gcc-9 CXX=g++-9
addons:
apt:
sources:
- sourceline: "ppa:ubuntu-toolchain-r/test"
packages:
- g++-9
- *default-packages
- name: Linux with GCC 8
os: linux
env: CC=gcc-8 CXX=g++-8
addons:
apt:
packages:
- g++-8
- *default-packages
- name: Linux with GCC 7
os: linux
env: CC=gcc-7 CXX=g++-7
addons:
apt:
packages:
- g++-7
- *default-packages
- name: Linux with Clang 9
os: linux
env: CC=clang-9 CXX=clang++-9
addons:
apt:
sources:
- sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
packages:
- clang-9
- *default-packages
- name: Linux with Clang 8
os: linux
env: CC=clang-8 CXX=clang++-8
addons:
apt:
sources:
- sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main"
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
packages:
- clang-8
- *default-packages
- name: macOS with Xcode11/Clang
os: osx
osx_image: xcode11
env: BREW_WORKAROUND=yes
- name: macOS with Xcode10.3/Clang
os: osx
osx_image: xcode10.3
env: BREW_WORKAROUND=yes
- name: macOS with Xcode10.1/Clang
os: osx
osx_image: xcode10.1
before_install:
# https://github.com/Homebrew/brew/issues/5068#issuecomment-429984836
- if [ "$BREW_WORKAROUND" = yes ]; then sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / ; fi
before_script:
- ci/build-deps.sh
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/qt/lib/pkgconfig:/usr/local/lib/pkgconfig; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/qt/bin:$PATH"; fi
- ./autogen.sh
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure --prefix='/usr'; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make && sudo make install; fi
after_failure:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ls -alhv /usr/bin/ |grep -E "(clang|gcc|g\+\+)"; fi
- if [[ -f config.log ]]; then cat config.log; fi
branches:
only:
- master
- networking-with-osc
- travis-integration
notifications:
email: false