2015-10-11 23:30:21 +02:00
|
|
|
language: go
|
|
|
|
|
2018-07-08 14:49:57 +02:00
|
|
|
# fuse on travis
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
2017-02-16 21:24:33 +01:00
|
|
|
git:
|
2019-01-03 18:43:51 +01:00
|
|
|
depth: 300
|
2017-02-16 21:24:33 +01:00
|
|
|
|
2018-08-02 20:06:34 +02:00
|
|
|
# Build with the lastest versions of Go 1.7 and later
|
2016-10-09 23:18:23 +02:00
|
|
|
# See https://golang.org/dl/
|
2015-10-11 23:30:21 +02:00
|
|
|
go:
|
2018-02-27 18:01:24 +01:00
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
|
|
|
- 1.10.x
|
2018-08-26 13:04:18 +02:00
|
|
|
- 1.11.x
|
2018-02-27 18:01:24 +01:00
|
|
|
- stable
|
2015-10-11 23:30:21 +02:00
|
|
|
|
2018-07-08 14:49:57 +02:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install -qq fuse
|
|
|
|
- sudo modprobe fuse
|
|
|
|
- sudo chmod 666 /dev/fuse
|
|
|
|
- sudo chown root:$USER /etc/fuse.conf
|
|
|
|
|
2015-10-11 23:30:21 +02:00
|
|
|
install:
|
2019-01-02 20:55:35 +01:00
|
|
|
- go get -d -t -v ./...
|
2019-01-02 17:06:01 +01:00
|
|
|
- wget https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -O dep
|
2018-07-08 14:49:57 +02:00
|
|
|
- chmod +x dep
|
2015-10-11 23:30:21 +02:00
|
|
|
|
|
|
|
script:
|
2016-05-04 20:15:11 +02:00
|
|
|
- openssl version
|
2018-08-26 12:39:51 +02:00
|
|
|
- df -Th / /tmp
|
2015-11-14 18:27:06 +01:00
|
|
|
- go build
|
2016-10-09 23:18:23 +02:00
|
|
|
- ./build-without-openssl.bash
|
2015-12-20 17:14:48 +01:00
|
|
|
- ./build.bash
|
2017-02-22 23:55:43 +01:00
|
|
|
- ./gocryptfs -speed
|
2016-10-04 22:32:53 +02:00
|
|
|
- ./test.bash
|
2017-06-18 15:40:38 +02:00
|
|
|
- ./crossbuild.bash
|
2018-01-16 23:24:13 +01:00
|
|
|
- echo "rebuild with locked dependencies"
|
2018-07-08 14:49:57 +02:00
|
|
|
- echo travis_fold:start:dep
|
|
|
|
- ./dep ensure -v
|
|
|
|
- echo travis_fold:end:dep
|
2018-01-16 23:24:13 +01:00
|
|
|
- ./build.bash
|