Commit f30e383e authored by Hanspeter Portner's avatar Hanspeter Portner

add libwebsockets to travis recipe.

parent 4bad1efd
......@@ -14,14 +14,16 @@ before_install:
- wget http://download.drobilla.net/sratom-0.4.6.tar.bz2
- wget http://download.drobilla.net/lilv-0.22.0.tar.bz2
- wget https://github.com/nanomsg/nanomsg/releases/download/0.8-beta/nanomsg-0.8-beta.tar.gz
- wget https://github.com/libuv/libuv/archive/v1.7.5.tar.gz
- wget https://github.com/warmcat/libwebsockets/archive/v1.7.0.tar.gz
- tar xjf lv2-1.12.0.tar.bz2
- tar xjf serd-0.22.0.tar.bz2
- tar xjf sord-0.14.0.tar.bz2
- tar xjf sratom-0.4.6.tar.bz2
- tar xjf lilv-0.22.0.tar.bz2
- tar xzf nanomsg-0.8-beta.tar.gz
- wget https://github.com/libuv/libuv/archive/v1.7.5.tar.gz
- tar xzf v1.7.5.tar.gz
- tar xzf v1.7.0.tar.gz
- if [ "$CC" = "clang" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm-upper; fi
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:andykimpe/cmake
......@@ -38,6 +40,7 @@ install:
- pushd lilv-0.22.0 && ./waf configure --no-utils --prefix=/usr && ./waf build && sudo ./waf install && popd
- pushd nanomsg-0.8-beta && ./configure --prefix=/usr && make && sudo make install && popd
- pushd libuv-1.7.5 && sh autogen.sh && ./configure --prefix=/usr && make && sudo make install && popd
- pushd libwebsockets-1.7.0 && mkdir build && pushd build && cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make && sudo make install && popd && popd
before_script:
- if [ "$CC" = "clang" ]; then export CXX="clang++-3.6" CC="clang-3.6" CFLAGS="-ffreestanding"; fi
- if [ "$CC" = "gcc" ]; then export CXX="g++-5" CC="gcc-5"; fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment