X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7377ab11320e17a5368a731fa7b0d93cd9415e81..783ed451825ea18f1bec2502cb3fcecda653234a:/.travis.yml diff --git a/.travis.yml b/.travis.yml index 541acd32..aa8c0941 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ # Enable Trusty dist, Standard is ancient. -dist: trusty +#dist: trusty # Enable C++ support language: - c @@ -10,5 +10,11 @@ compiler: - gcc # Build steps script: - - cd projects/stargazer - - ./build debug && make clean && make + - mkdir build && cd build + - cmake -DBUILD_STG=ON -DBUILD_SGCONF=ON -DBUILD_RSCRIPTD=ON -DBUILD_SGAUTH=ON -DBUILD_MOD_CAP_PCAP=ON -DBUILD_MOD_RADIUS=ON -DBUILD_TESTS=ON .. + - make +before_install: + - if [[ $TRAVIS_OS_NAME = linux ]]; then sudo apt-get -qq update; fi + - if [[ $TRAVIS_OS_NAME = linux ]]; then sudo apt-get install -y libyajl-dev; fi + - if [[ $TRAVIS_OS_NAME = linux ]]; then sudo apt-get install -y libpcap-dev; fi + - if [[ $TRAVIS_OS_NAME = linux ]]; then sudo apt-get install -y libboost-all-dev; fi