aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: d3b66bd36d6bcbbd2da62f06fc7357b3669a51a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: go

git:
  depth: 100

# Build with the lastest versions of Go 1.5 and later
# See https://golang.org/dl/
go:
  - 1.5.x
  - 1.6.x
  - 1.7.x
  - 1.8.x
  - 1.9.x
  - 1.10.x
  - stable

install:
  - go get .

script:
  - openssl version
  - go build
  - ./build-without-openssl.bash
  - ./build.bash
  - ./gocryptfs -speed
  - ./test.bash
  - ./crossbuild.bash
  - 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

# 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