mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-30 17:13:22 -05:00
7205bc23e3
scan-build --status-bugs does not return an error code if make fails with compile errors. Therefor run make as a seperate step to ensure the travis build does not report a false positive.
28 lines
1.1 KiB
YAML
28 lines
1.1 KiB
YAML
language: c
|
|
sudo: required
|
|
dist: trusty
|
|
env:
|
|
matrix:
|
|
- CFG="--disable-verification"
|
|
- CFG="--enable-lastfm --disable-verification"
|
|
- CFG="--enable-spotify --disable-verification"
|
|
- CFG="--enable-chromecast --disable-verification"
|
|
- CFG="--with-pulseaudio --disable-verification"
|
|
|
|
script:
|
|
- autoreconf -fi
|
|
- ./configure $CFG
|
|
- make
|
|
- make clean
|
|
- scan-build --status-bugs -disable-checker deadcode.DeadStores make
|
|
|
|
before_install:
|
|
- wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
|
|
- sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/jessie.list
|
|
- sudo apt-get -qq update
|
|
- sudo apt-get install -y build-essential clang git autotools-dev autoconf libtool gettext gawk gperf antlr3 libantlr3c-dev libconfuse-dev libunistring-dev libsqlite3-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev libasound2-dev libmxml-dev libgcrypt11-dev libavahi-client-dev zlib1g-dev libevent-dev libplist-dev libcurl4-openssl-dev libjson-c-dev libspotify-dev libgnutls-dev libprotobuf-c0-dev libpulse-dev
|
|
|
|
# Disable email notification
|
|
notifications:
|
|
email: false
|