.travis.yml 786 Bytes
Newer Older
1 2
language: go

3 4 5 6
# fuse on travis
sudo: required
dist: trusty

7 8 9
git:
  depth: 100

10
# Build with the lastest versions of Go 1.7 and later
11
# See https://golang.org/dl/
12
go:
13 14 15 16 17
  - 1.7.x
  - 1.8.x
  - 1.9.x
  - 1.10.x
  - stable
18

19 20 21 22 23 24
before_install:
  - sudo apt-get install -qq fuse
  - sudo modprobe fuse
  - sudo chmod 666 /dev/fuse
  - sudo chown root:$USER /etc/fuse.conf

25
install:
26 27 28
  - go get -v .
  - wget https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 -O dep
  - chmod +x dep
29 30

script:
31
  - openssl version
32
  - go build
33
  - ./build-without-openssl.bash
34
  - ./build.bash
35
  - ./gocryptfs -speed
36
  - ./test.bash
37
  - ./crossbuild.bash
38
  - echo "rebuild with locked dependencies"
39 40 41
  - echo travis_fold:start:dep
  - ./dep ensure -v
  - echo travis_fold:end:dep
42
  - ./build.bash