forked from kung-foo/freki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (23 loc) · 823 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: go
go:
- 1.8.x
sudo: required
services:
- docker
env:
DOCKER_COMPOSE_VERSION: 1.11.2
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update -qq
- sudo apt-get install -qq docker-ce libnetfilter-queue-dev libpcap-dev iptables-dev
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- go get golang.org/x/net/bpf
- go get golang.org/x/net/context
- go get golang.org/x/net/proxy
script:
- make
- make system-test