diff --git a/.travis.yml b/.travis.yml index c57abdd..bddeb89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ +language: c + +install: ./.travis_install_deps.sh + before_install: - sudo apt-get -qq update - - sudo apt-get install -y libssh-dev libmicrohttpd-dev libsqlite3-dev libreadline-dev libncurses5-dev + - sudo apt-get install -y libssh-dev libsqlite3-dev libreadline-dev libncurses5-dev script: make www diff --git a/.travis_install_deps.sh b/.travis_install_deps.sh new file mode 100755 index 0000000..0ddb19f --- /dev/null +++ b/.travis_install_deps.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +wget https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.59.tar.gz +tar xzf libmicrohttpd-0.9.59.tar.gz +cd libmicrohttpd-0.9.59 +./configure +make +make install