ac8f8bf432
"1.10" does not work as expected because it is parsed as a floating point number: https://github.com/travis-ci/travis-ci/issues/9247 Added benefit is that we always get the latest point release.
42 lines
739 B
YAML
42 lines
739 B
YAML
language: go
|
|
|
|
git:
|
|
depth: 100
|
|
|
|
# Build with the lastest versions of Go 1.5 and later
|
|
# See https://golang.org/dl/
|
|
go:
|
|
- 1.5.x
|
|
- 1.6.x
|
|
- 1.7.x
|
|
- 1.8.x
|
|
- 1.9.x
|
|
- 1.10.x
|
|
- stable
|
|
|
|
install:
|
|
- go get .
|
|
|
|
script:
|
|
- openssl version
|
|
- go build
|
|
- ./build-without-openssl.bash
|
|
- ./build.bash
|
|
- ./gocryptfs -speed
|
|
- ./test.bash
|
|
- ./crossbuild.bash
|
|
- echo "rebuild with locked dependencies"
|
|
- wget https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 -O dep
|
|
- chmod +x dep
|
|
- ./dep ensure
|
|
- ./build.bash
|
|
|
|
# fuse on travis
|
|
sudo: required
|
|
dist: trusty
|
|
before_install:
|
|
- sudo apt-get install -qq fuse
|
|
- sudo modprobe fuse
|
|
- sudo chmod 666 /dev/fuse
|
|
- sudo chown root:$USER /etc/fuse.conf
|