language: go
go_import_path: github.com/redhat-cip/skydive

sudo: required
dist: trusty

before_install:
    - sudo apt-get -qq update
    - sudo apt-get install -y openvswitch-switch
    - sudo ovs-vsctl show
    - sudo ovs-appctl -t ovsdb-server ovsdb-server/add-remote ptcp:6400
    - go get github.com/axw/gocov/gocov
    - go get github.com/mattn/goveralls
    - go get golang.org/x/tools/cmd/cover

script:
    - test -z "$(gofmt -s -l . | grep -v Godeps/_workspace/src/ | grep -v statics/bindata.go | tee /dev/stderr)"
    - make install GOFLAGS="-race -v"
    - make test GOFLAGS="-race -v"
    - ./coverage.sh --coveralls

language: go
go_import_path: github.com/redhat-cip/skydive

sudo: required
dist: trusty

before_install:
    - sudo apt-get -qq update
    - sudo apt-get install -y openvswitch-switch
    - sudo ovs-vsctl show
    - sudo ovs-appctl -t ovsdb-server ovsdb-server/add-remote ptcp:6400
    - go get github.com/axw/gocov/gocov
    - go get github.com/mattn/goveralls
    - go get golang.org/x/tools/cmd/cover

script:
    - test -z "$(gofmt -s -l . | grep -v Godeps/_workspace/src/ | grep -v statics/bindata.go | tee /dev/stderr)"
    - make install GOFLAGS="-race -v"
    - make test GOFLAGS="-race -v -timeout 1m"
    - ./coverage.sh --coveralls

Set the test timeout to 1m
Set the test timeout to 1m
