2015-10-11 23:30:21 +02:00
|
|
|
language: go
|
|
|
|
|
2017-02-16 21:24:33 +01:00
|
|
|
git:
|
|
|
|
depth: 100
|
|
|
|
|
2017-09-02 20:35:07 +02:00
|
|
|
# Build with the lastest versions of Go 1.5 and later
|
2016-10-09 23:18:23 +02:00
|
|
|
# See https://golang.org/dl/
|
2015-10-11 23:30:21 +02:00
|
|
|
go:
|
2016-10-09 23:18:23 +02:00
|
|
|
- 1.5.4
|
2017-03-05 17:26:14 +01:00
|
|
|
- 1.6.4
|
2017-07-01 11:39:33 +02:00
|
|
|
- 1.7.6
|
2017-11-01 19:02:34 +01:00
|
|
|
- 1.8.5
|
|
|
|
- 1.9.2
|
2015-10-11 23:30:21 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
- go get .
|
|
|
|
|
|
|
|
script:
|
2016-05-04 20:15:11 +02:00
|
|
|
- openssl version
|
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"
|
|
|
|
- wget https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 -O dep
|
|
|
|
- chmod +x dep
|
|
|
|
- ./dep ensure
|
|
|
|
- ./build.bash
|
2016-10-04 22:06:05 +02:00
|
|
|
|
|
|
|
# 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
|