a4563e21ec
Dup2 is not implemented on linux/arm64. Fixes https://github.com/rfjakob/gocryptfs/issues/121 . Also adds cross-compilation to CI.
34 lines
530 B
YAML
34 lines
530 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.5.4
|
|
- 1.6.4
|
|
- 1.7.5
|
|
- 1.8.1
|
|
|
|
install:
|
|
- go get .
|
|
|
|
script:
|
|
- openssl version
|
|
- go build
|
|
- ./build-without-openssl.bash
|
|
- ./build.bash
|
|
- ./gocryptfs -speed
|
|
- ./test.bash
|
|
- ./crossbuild.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
|