]> git.stg.codes - stg.git/commitdiff
Install some necessary libs in Travis.
authorMaksym Mamontov <madf@madf.info>
Tue, 7 Jan 2020 17:42:38 +0000 (19:42 +0200)
committerMaksym Mamontov <madf@madf.info>
Tue, 7 Jan 2020 17:42:38 +0000 (19:42 +0200)
.travis.yml

index a1224dbe68a6e40893847dc213edab458c77e443..621c70c99e0f03f259ce6e2bc9730e69395bc8ff 100644 (file)
@@ -11,5 +11,9 @@ compiler:
 # Build steps
 script:
   - mkdir build && cd build
 # 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
   - 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