mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
7f7fc24dc3
* tests/pedantic-header-test.sh.in:
Commit 58737ceb48
started using "sfconfig.h" in the test files,
which made this test script fail.
* .travis.yaml:
Add `distcheck` that so PRs are checked.
44 lines
868 B
YAML
44 lines
868 B
YAML
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
|