]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
travis: also enable Travis CI on 0.5 branch.
authorVincent Bernat <bernat@luffy.cx>
Tue, 3 Apr 2012 11:39:24 +0000 (13:39 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 3 Apr 2012 11:39:24 +0000 (13:39 +0200)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..c3b8fad
--- /dev/null
@@ -0,0 +1,15 @@
+language: "python"
+install:
+  - "sudo apt-get -y install automake autoconf libtool pkg-config"
+  - "sudo apt-get -y 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"
+  - LLDPD_CONFIG_ARGS="--disable-dot1"
+  - LLDPD_CONFIG_ARGS="--disable-dot3"
+  - LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
+branches:
+  only:
+    - master
+    - branch-0.5