dist: trusty sudo: required services: - docker language: go go: - "1.11.x" install: - export GO111MODULE=on script: - go build ./... - go test -c -o test ./ - sudo ./test -test.v - go test -c -o test ./copy - sudo ./test -test.v