From d86c7e8db10e3670bc49266227be4af422dba26e Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 9 Feb 2018 21:58:52 +1000 Subject: [PATCH] another attempt at travis --- .travis.yml | 6 +++++- .travis_install_deps.sh | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 .travis_install_deps.sh 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