dist: trusty sudo: required language: go before_install: - sudo apt-get install -y nmap - go get github.com/mattn/goveralls script: # Run unit tests - go test -v -covermode=count -coverprofile=coverage.out - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken=$COVERALLS_TOKEN # Ensure the examples compile - for dir in examples/*/; do go build -o $dir/bin $dir/main.go; done notifications: email: recipients: - brendan.le-glaunec@epitech.eu on_success: never on_failure: always