libgocryptfs/.travis.yml

44 lines
1.0 KiB
YAML
Raw Normal View History

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
# fuse on travis
sudo: required
dist: bionic # Ubuntu 18.04 "Bionic", https://docs.travis-ci.com/user/reference/bionic/
2020-04-13 16:10:09 +02:00
env:
- GO111MODULE=on
git:
depth: 300
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&section=all
# * https://packages.ubuntu.com/search?keywords=golang&searchon=names&exact=1&suite=all&section=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"
- stable
2015-10-11 23:30:21 +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:
- 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
- ./build-without-openssl.bash
2015-12-20 17:14:48 +01:00
- ./build.bash
- ./gocryptfs -speed
- ./test.bash
2019-05-01 18:31:54 +02:00
- make root_test
- ./crossbuild.bash
- echo "rebuild with locked dependencies"
- go mod vendor
- ./build.bash -mod=vendor