From eedfbd5c8f0309712c4d3ba594db84208865ed46 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index bfcca41..ed5c7f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,13 +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 + - 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.\* - haproxy -vv script: make travis addons: