From: Vincent Bernat Date: Tue, 3 Apr 2012 11:21:00 +0000 (+0200) Subject: travis: use apt-get instead of aptitude X-Git-Tag: 0.6.0~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b5c1f554153c60731ac35ba2cc0ba660000b7ff;p=thirdparty%2Flldpd.git travis: use apt-get instead of aptitude aptitude will try to remove unused packages. We don't need this. Also, enable XML output. --- diff --git a/.travis.yml b/.travis.yml index 08f95b2a..c3b8fadd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,14 @@ language: "python" install: - - "sudo aptitude -y -q install automake autoconf libtool pkg-config" - - "sudo aptitude -y -q install libsnmp-dev libxml2-dev check" + - "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" + - LLDPD_CONFIG_ARGS="--with-snmp --with-xml" branches: only: - master