Add .travis.yml

FossilOrigin-Name: 6fbe703ed7d92893e69523eb9c22858d6e117567b09cc4a8200ea1e5930f77e0
This commit is contained in:
alexis.lagoutte@gmail.com 2015-05-06 08:49:04 +00:00
parent 3dc1e109ed
commit 1ea1d58a56

48
.travis.yml Normal file
View File

@ -0,0 +1,48 @@
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 &