language: go

# Debian Jessie has Go 1.3.3, Fedora 22 has Go 1.4.3,
# Fedora 23 has Go 1.5.1
go:
  - 1.3.3
  - 1.4.3
  - 1.5.1
  - 1.6
  - tip

install:
  - go get .

# Travis does not support FUSE, so we can't just run "./test.bash"
# Go 1.3.3 does not support testing.M, so skip the tests there.
script:
  - openssl version
  - go build
  - ./build.bash
  - if ! go version | grep go1.3.3 ; then go test ./internal/... ; fi