Skip to content

Commit 7d5be47

Browse files
BUILD/MEDIUM: add haproxy and dataplane binaries to travis
1 parent 671c947 commit 7d5be47

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@ language: go
22
go:
33
- 1.x
44
sudo: false
5+
before_script:
6+
- sudo wget https://github.com/haproxytech/dataplaneapi/releases/download/v1.2.5/dataplaneapi -O /usr/local/bin/dataplaneapi
7+
- sudo chmod +x /usr/local/bin/dataplaneapi
8+
install:
9+
- wget http://www.haproxy.org/download/2.0/src/haproxy-2.0.14.tar.gz
10+
- tar -zxvf haproxy-2.0.14.tar.gz
11+
- pushd haproxy-2.0.14 && make TARGET=linux-glibc USE_OPENSSL=1 USE_ZLIB=1 USE_PCRE=1 && sudo make install && popd
12+
addons:
13+
apt:
14+
update: true
15+
packages:
16+
- libssl-dev
17+
- zlib1g-dev
18+
- libpcre3-dev
519
before_deploy:
620
- echo "Deploying $TRAVIS_TAG to GitHub releases"
721
- tar czf haproxy-connect.tar.gz haproxy-connect

0 commit comments

Comments
 (0)