libgocryptfs/.travis.yml
Jakob Unterwurzacher 07b4b9d60b Travis: set clone depth to 100
Otherwise the build fails once you have more than 50 commits
since the last tag.

You'd get:

$ ./build.bash
fatal: No names found, cannot describe anything.
2017-02-16 21:24:33 +01:00

32 lines
485 B
YAML

language: go
git:
depth: 100
# Build with the lastest versions of Go 1.4, 1.5, 1.6, 1.7
# See https://golang.org/dl/
go:
- 1.4.3
- 1.5.4
- 1.6.3
- 1.7.1
install:
- go get .
script:
- openssl version
- go build
- ./build-without-openssl.bash
- ./build.bash
- ./test.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