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: