another attempt at travis

This commit is contained in:
Andrew Pamment 2018-02-09 21:58:52 +10:00
parent d987983316
commit d86c7e8db1
2 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,10 @@
language: c
install: ./.travis_install_deps.sh
before_install: before_install:
- sudo apt-get -qq update - 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 script: make www

8
.travis_install_deps.sh Executable file
View File

@ -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