travis again
This commit is contained in:
parent
1080ef9d20
commit
0d3321756d
4 changed files with 18 additions and 6 deletions
|
|
@ -5,9 +5,6 @@ arch: amd64
|
|||
branches:
|
||||
only:
|
||||
- master
|
||||
script:
|
||||
- ./configure --with-restconf=fcgi && make && sudo make install && (cd example; make; sudo make install) && (cd util; make; sudo make install) && sudo ldconfig && (cd test; ./all.sh)
|
||||
script: ./test/travis/script.sh
|
||||
before_script:
|
||||
- sudo apt-get install -y libfcgi-dev
|
||||
- sudo apt-get install -y nginx
|
||||
- ./test/travis/before_script.sh
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
12
test/travis/script.sh
Executable 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue