2015-10-11 23:30:21 +02:00
|
|
|
language: go
|
2020-04-13 16:10:09 +02:00
|
|
|
os: linux
|
2015-10-11 23:30:21 +02:00
|
|
|
|
2018-07-08 14:49:57 +02:00
|
|
|
# fuse on travis
|
|
|
|
sudo: required
|
2019-12-29 14:19:31 +01:00
|
|
|
dist: bionic # Ubuntu 18.04 "Bionic", https://docs.travis-ci.com/user/reference/bionic/
|
2018-07-08 14:49:57 +02:00
|
|
|
|
2020-04-13 16:10:09 +02:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
|
|
|
|
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
|
|
|
|
2019-12-29 14:13:59 +01:00
|
|
|
# Build with the lastest relevant Go versions
|
|
|
|
# Relevance is determined from:
|
|
|
|
# * https://golang.org/dl/
|
|
|
|
# * https://packages.debian.org/search?keywords=golang&searchon=names&exact=1&suite=all§ion=all
|
|
|
|
# * https://packages.ubuntu.com/search?keywords=golang&searchon=names&exact=1&suite=all§ion=all
|
2015-10-11 23:30:21 +02:00
|
|
|
go:
|
2019-12-29 14:13:59 +01:00
|
|
|
- 1.11.x # Debian 10 "Buster"
|
|
|
|
- 1.12.x # Ubuntu 19.10
|
|
|
|
- 1.13.x # Debian 11 "Bullseye"
|
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
|
|
|
script:
|
2016-05-04 20:15:11 +02:00
|
|
|
- openssl version
|
2018-08-26 12:39:51 +02:00
|
|
|
- df -Th / /tmp
|
2020-04-13 16:10:09 +02:00
|
|
|
- env GO111MODULE=on 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
|
2019-05-19 14:09:59 +02:00
|
|
|
- ./test.bash
|
2019-05-01 18:31:54 +02:00
|
|
|
- make root_test
|
2017-06-18 15:40:38 +02:00
|
|
|
- ./crossbuild.bash
|
2018-01-16 23:24:13 +01:00
|
|
|
- echo "rebuild with locked dependencies"
|
2020-04-13 14:07:55 +02:00
|
|
|
- go mod vendor
|
|
|
|
- ./build.bash -mod=vendor
|