travis again

This commit is contained in:
Olof hagsand 2020-11-30 10:05:15 +01:00
parent 1080ef9d20
commit 0d3321756d
4 changed files with 18 additions and 6 deletions

View file

@ -1,5 +1,8 @@
#!/bin/sh
#!/usr/bin/env bash
# Travis pre-config script.
sudo apt-get install -y libfcgi-dev
sudo apt-get install -y nginx
# Clone and install CLIgen (needed for clixon configure and make)
# Note travis builds and installs, then starts a clixon container where all tests are run from.
git clone https://github.com/clicon/cligen.git

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Travis pre-config script.
# build libevhtp
git clone https://github.com/criticalstack/libevhtp.git

12
test/travis/script.sh Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
./configure --with-restconf=fcgi
make
sudo make install
(cd example; make; sudo make install)
(cd util; make; sudo make install)
sudo ldconfig
which clixon_backend
sudo clixon_backend
sleep 1
ps aux|grep clixon
(cd test; ./all.sh)