language: go

go:
 - go1.2.2
 - go1.3.3
 - go1.4.3
 - go1.5.3
 - go1.6

before_install:
 - export DISPLAY=:99.0
 - sh -e /etc/init.d/xvfb start

script:
 - sudo apt-get install xsel
 - go test -v .
 - sudo apt-get install xclip
 - go test -v .