Skip to content

Commit 6c47d09

Browse files
authored
BUILD/MEDIUM: Fix tests' prerequisites (#57)
1 parent f8963ae commit 6c47d09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ language: go
22
go:
33
- 1.x
44
sudo: false
5-
install:
6-
- wget http://www.haproxy.org/download/2.0/src/haproxy-2.0.14.tar.gz
7-
- tar -zxvf haproxy-2.0.14.tar.gz
8-
- pushd haproxy-2.0.14 && make TARGET=linux-glibc USE_OPENSSL=1 USE_ZLIB=1 USE_PCRE=1 && sudo make install && popd
95
before_script:
106
- sudo wget https://github.com/haproxytech/dataplaneapi/releases/download/v1.2.5/dataplaneapi -O /usr/local/bin/dataplaneapi
117
- sudo chmod +x /usr/local/bin/dataplaneapi
8+
- sudo apt-get install -y software-properties-common
9+
- sudo add-apt-repository -y ppa:vbernat/haproxy-2.0
10+
- sudo apt-get update
11+
- sudo apt-get install -y haproxy=2.0.\*
1212
- haproxy -vv
1313
script: make travis
1414
addons:

0 commit comments

Comments
 (0)