]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - .travis.yml
travis: use provided configure argument
[thirdparty/lldpd.git] / .travis.yml
index 3c1f0d86e82557597d4ffffb3a5a9793b91254e6..08f95b2ab3ee8bc77b62562ea223fd4e0f834074 100644 (file)
@@ -1,6 +1,8 @@
 language: "python"
-before_script: "sudo aptitude -y -q install libsnmp-dev libxml2-dev automake autoconf libtool"
-script: "./autogen.sh && ./configure && make && make check"
+install:
+  - "sudo aptitude -y -q install automake autoconf libtool pkg-config"
+  - "sudo aptitude -y -q install libsnmp-dev libxml2-dev check"
+script: "./autogen.sh && ./configure $LLDPD_CONFIG_ARGS && make && make check"
 env:
   - LLDPD_CONFIG_ARGS=""
   - LLDPD_CONFIG_ARGS="--disable-lldpmed"