49 lines
833 B
YAML
49 lines
833 B
YAML
|
language: cpp
|
||
|
compiler:
|
||
|
- clang
|
||
|
- gcc
|
||
|
sudo: require
|
||
|
addons:
|
||
|
apt:
|
||
|
sources:
|
||
|
- ubuntu-toolchain-r-test
|
||
|
packages:
|
||
|
- g++-4.9
|
||
|
- libstdc++-4.9-dev
|
||
|
- autoconf
|
||
|
- automake
|
||
|
- autotools-dev
|
||
|
- libtool
|
||
|
- libgmp-dev
|
||
|
- libconfuse-dev
|
||
|
- lua5.1
|
||
|
- liblua5.1-0-dev
|
||
|
# No yet whitelisted for Travis
|
||
|
# - libgnutls28-dev
|
||
|
# - libnl-3-dev
|
||
|
# - libnl-genl-3-dev
|
||
|
before_install:
|
||
|
- $CC --version
|
||
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
|
||
|
- $CC --version
|
||
|
- $CXX --version
|
||
|
- sudo apt-get install libgnutls28-dev libnl-genl-3-dev libnl-3-dev
|
||
|
before_script:
|
||
|
- cd src/contrib
|
||
|
- sudo ./install_libuci.sh
|
||
|
- cd jsmn
|
||
|
- make
|
||
|
- cd ..
|
||
|
- cd ..
|
||
|
script:
|
||
|
- cd capwap
|
||
|
- make
|
||
|
- cd ..
|
||
|
- cd wtp
|
||
|
- make
|
||
|
- ./wtp &
|
||
|
- cd ..
|
||
|
- cd ac
|
||
|
- make
|
||
|
- ./actube &
|