Skip to content

Commit e7496dc

Browse files
author
Greg Dubicki
committed
Fix tests' prerequisites
1 parent 45b86be commit e7496dc

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +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
12-
- haproxy -vv
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.\*
1312
script: make travis
1413
addons:
1514
apt:

0 commit comments

Comments
 (0)