forked from libsndfile/libsndfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (38 loc) · 868 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
sudo: false
language: c
matrix:
include:
- os: linux
dist: trusty
compiler: clang
addons:
apt:
packages:
- libogg-dev
- libvorbis-dev
- libflac-dev
- libasound2-dev
- os: linux
dist: trusty
compiler: gcc
addons:
apt:
packages:
- libogg-dev
- libvorbis-dev
- libflac-dev
- libasound2-dev
- os: osx
compiler: clang
before_install:
- |
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
brew install autogen flac libogg libvorbis
fi
install:
- true
script:
- mkdir cmake-build && (cd cmake-build && cmake .. -DCMAKE_BUILD_TYPE=Release && make VERBOSE=1 && ctest -V)
- pwd
- ./autogen.sh
- ./configure --enable-werror && make clean all check && make distcheck