forked from libsndfile/libsamplerate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 804 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
language: c
dist: xenial
jobs:
fast_finish: true
include:
- env: USING_AUTOTOOLS=yes
addons:
apt:
packages: [libsndfile-dev, libfftw3-dev, libasound2-dev, autoconf, automake-1.15, pkg-config, m4]
script:
- ./autogen.sh && ./configure --enable-sndfile --enable-alsa && make distcheck
- cat src/config.h
addons:
apt:
packages: [libsndfile-dev, libopus-dev, libfftw3-dev, libasound2-dev]
env:
- CMAKE_SHARED=OFF BUILD_TYPE=Debug
- CMAKE_SHARED=ON BUILD_TYPE=Debug
- CMAKE_SHARED=OFF BUILD_TYPE=Release
- CMAKE_SHARED=ON BUILD_TYPE=Release
script:
- mkdir build
- cd build
- cmake -DBUILD_SHARED_LIBS=$CMAKE_SHARED -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_C_FLAGS="-Wall -Wextra -Werror" ..
- cat config.h
- make && make test