libgocryptfs/.travis.yml
Jakob Unterwurzacher f48b731e76 travis ci: drop go 1.5 and go 1.6
Trying to build with these versions now throws this error:

  # golang.org/x/sys/unix
  ../../../golang.org/x/sys/unix/ioctl.go:18: undefined: runtime.KeepAlive

It looks like x/sys/unix has dropped support for older Go
versions.
2018-08-02 20:06:34 +02:00

43 lines
786 B
YAML

language: go
# fuse on travis
sudo: required
dist: trusty
git:
depth: 100
# Build with the lastest versions of Go 1.7 and later
# See https://golang.org/dl/
go:
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
- stable
before_install:
- sudo apt-get install -qq fuse
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
install:
- go get -v .
- wget https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 -O dep
- chmod +x dep
script:
- openssl version
- go build
- ./build-without-openssl.bash
- ./build.bash
- ./gocryptfs -speed
- ./test.bash
- ./crossbuild.bash
- echo "rebuild with locked dependencies"
- echo travis_fold:start:dep
- ./dep ensure -v
- echo travis_fold:end:dep
- ./build.bash