language: go

sudo: required
dist: trusty

services:
  - docker

go:
  - 1.7

before_install:
  - sudo apt-get install -y netcat
  - go get github.com/wadey/gocovmerge
  - go get github.com/mattn/goveralls
  - go get golang.org/x/tools/cmd/cover

install:
  - go build .
  - docker build -t square/ghostunnel .
  - docker build -t redis-tls docker/redis-tls

script:
  - make test

after_success:
  - $HOME/gopath/bin/goveralls -coverprofile coverage-merged.out -service=travis-ci

language: go

sudo: required
dist: trusty

services:
  - docker

matrix:
  fast_finish: true
  allow_failures:
    - go: master

go:
  - 1.7.x
  - master

before_install:
  - sudo apt-get install -y netcat
  - go get github.com/wadey/gocovmerge
  - go get github.com/mattn/goveralls
  - go get golang.org/x/tools/cmd/cover

install:
  - go build .
  - docker build -t square/ghostunnel .
  - docker build -t redis-tls docker/redis-tls

script:
  - make test

after_success:
  - $HOME/gopath/bin/goveralls -coverprofile coverage-merged.out -service=travis-ci

Build ghostunnel on go master
Build ghostunnel on go master
