From: Maksym Mamontov Date: Tue, 7 Jan 2020 17:42:38 +0000 (+0200) Subject: Install some necessary libs in Travis. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/f0bbf32c5d4f07ecc8de298edce5a11837ff353b?hp=7b4f3f62cbebbc1b01df5f1de47dcdd0f02e0223 Install some necessary libs in Travis. --- diff --git a/.travis.yml b/.travis.yml index a1224dbe..621c70c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,5 +11,9 @@ compiler: # Build steps script: - mkdir build && cd build - - cmake -DBUILD_STG=ON -DBUILD_SGCONF=ON -DBUILD_RSCRIPTD=ON -DBUILD_SGAUTH=ON -DBUILD_ALL_MODS=ON -DBUILD_TESTS=ON .. + - 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