language: go

os:
  - linux

dist: trusty
sudo: required

go:
  - 1.8.x

script:
  - go test -v ./...

before_install:
  - sudo apt-get install libusb-dev libusb-1.0-0 libusb-1.0-0-dev

language: go

os:
  - linux

dist: trusty
sudo: required

go:
  - 1.8.x

script:
  - sudo go test -v ./...

before_install:
  - sudo apt-get install libusb-dev libusb-1.0-0 libusb-1.0-0-dev

Use sudo on go test script command
Use sudo on go test script command
