dist: trusty
language: go
go:
  - 1.7
  - 1.8
  - 1.9
env:
  - VER=5.2
before_install:
  - curl -s https://packagecloud.io/install/repositories/varnishcache/varnish${VER/./}/script.deb.sh | sudo bash
  - sudo apt-get install varnish=${VER}.* varnish-dev=${VER}.*
  - sudo usermod -a -G varnish $USER
script:
  - sudo -E su $USER -c "$(which go) test -v"

dist: trusty
language: go
go:
  - 1.9
  - 1.10
  - 1.11
env:
  - VER=5.2
before_install:
  - curl -s https://packagecloud.io/install/repositories/varnishcache/varnish${VER/./}/script.deb.sh | sudo bash
  - sudo apt-get install varnish=${VER}.* varnish-dev=${VER}.*
  - sudo usermod -a -G varnish $USER
script:
  - sudo -E su $USER -c "$(which go) test -v"

Test against go 1.9, 1.10 and 1.11
Test against go 1.9, 1.10 and 1.11
