14 lines
491 B
Bash
Executable file
14 lines
491 B
Bash
Executable file
#!/bin/sh
|
|
# Travis pre-config script.
|
|
# Clone and install CLIgen
|
|
git clone https://github.com/olofhagsand/cligen.git
|
|
(cd cligen && ./configure && make && sudo make install)
|
|
./configure && make && sudo make install
|
|
sudo /sbin/ldconfig
|
|
sudo make install-include
|
|
(cd example && make && sudo make install)
|
|
sudo groupadd clicon
|
|
sudo usermod -a -G clicon $(whoami)
|
|
sudo usermod -a -G clicon www-data
|
|
# Build the system docker container (make test may trigger it)
|
|
(cd docker/system && make docker)
|