[travis] Build libwebsockets 2.0.3 from source

This commit is contained in:
chme 2018-12-26 09:50:16 +01:00 committed by ejurgensen
parent 788cb6f133
commit 05fd28239b
1 changed files with 13 additions and 6 deletions

View File

@ -3,11 +3,11 @@ sudo: required
dist: trusty
env:
matrix:
- CFG="--disable-websocket --disable-webinterface --disable-verification"
- CFG="--disable-websocket --disable-webinterface --enable-lastfm --disable-verification"
- CFG="--disable-websocket --disable-webinterface --enable-spotify --disable-verification"
- CFG="--disable-websocket --disable-webinterface --enable-chromecast --disable-verification"
- CFG="--disable-websocket --disable-webinterface --with-pulseaudio --disable-verification"
- 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
@ -20,7 +20,14 @@ 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
- 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 ../..
# Disable email notification
notifications: