Add .travis.yml
FossilOrigin-Name: 6fbe703ed7d92893e69523eb9c22858d6e117567b09cc4a8200ea1e5930f77e0
This commit is contained in:
parent
3dc1e109ed
commit
1ea1d58a56
48
.travis.yml
Normal file
48
.travis.yml
Normal 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 &
|
Loading…
Reference in New Issue
Block a user