From e7496dc60026344e612ac7707e57e2b788328975 Mon Sep 17 00:00:00 2001 From: Greg Dubicki Date: Wed, 20 May 2020 10:49:47 +0200 Subject: [PATCH] Fix tests' prerequisites --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index bfcca41..34a647c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,14 +2,13 @@ language: go go: - 1.x sudo: false -install: - - wget http://www.haproxy.org/download/2.0/src/haproxy-2.0.14.tar.gz - - tar -zxvf haproxy-2.0.14.tar.gz - - pushd haproxy-2.0.14 && make TARGET=linux-glibc USE_OPENSSL=1 USE_ZLIB=1 USE_PCRE=1 && sudo make install && popd before_script: - sudo wget https://github.com/haproxytech/dataplaneapi/releases/download/v1.2.5/dataplaneapi -O /usr/local/bin/dataplaneapi - sudo chmod +x /usr/local/bin/dataplaneapi - - haproxy -vv + - sudo apt-get install -y software-properties-common + - sudo add-apt-repository -y ppa:vbernat/haproxy-2.0 + - sudo apt-get update + - sudo apt-get install -y haproxy=2.0.\* script: make travis addons: apt: