2017-01-21 04:13:40 -05:00
|
|
|
language: c
|
|
|
|
sudo: required
|
2018-12-17 01:49:49 -05:00
|
|
|
dist: xenial
|
2017-01-21 04:13:40 -05:00
|
|
|
env:
|
|
|
|
matrix:
|
2018-12-26 03:50:16 -05:00
|
|
|
- CFG="--disable-verification"
|
|
|
|
- CFG="--enable-lastfm --disable-verification"
|
|
|
|
- CFG="--enable-spotify --disable-verification"
|
|
|
|
- CFG="--enable-chromecast --disable-verification"
|
|
|
|
- CFG="--with-pulseaudio --disable-verification"
|
2017-01-21 04:13:40 -05:00
|
|
|
|
|
|
|
script:
|
|
|
|
- autoreconf -fi
|
|
|
|
- ./configure $CFG
|
2017-06-25 02:42:52 -04:00
|
|
|
- make
|
|
|
|
- make clean
|
2017-01-21 04:13:40 -05:00
|
|
|
- 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
|
2018-12-26 03:50:16 -05:00
|
|
|
- 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 cmake
|
|
|
|
- wget -q -O - https://github.com/warmcat/libwebsockets/archive/v2.0.3.tar.gz | tar -xvzf -
|
|
|
|
- mkdir ./libwebsockets-2.0.3/build
|
|
|
|
- cd ./libwebsockets-2.0.3/build
|
|
|
|
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ../..
|
2017-01-21 04:13:40 -05:00
|
|
|
|
|
|
|
# Disable email notification
|
|
|
|
notifications:
|
2017-01-31 16:27:01 -05:00
|
|
|
email: false
|