summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-04-13 16:10:09 +0200
committerJakob Unterwurzacher2020-04-13 18:06:50 +0200
commit73436d9419d9ef60b0104a73ffae156d9f871261 (patch)
tree631b30f0750680d562de7f88c55f589ddd4c053e /.travis.yml
parenta7d562d1144130f4c12e1eb821ac24210a079e79 (diff)
travis: fix Go Modules build problems
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 8507326..9cfc238 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,13 @@
language: go
+os: linux
# fuse on travis
sudo: required
dist: bionic # Ubuntu 18.04 "Bionic", https://docs.travis-ci.com/user/reference/bionic/
+env:
+ - GO111MODULE=on
+
git:
depth: 300
@@ -27,7 +31,7 @@ before_install:
script:
- openssl version
- df -Th / /tmp
- - go build
+ - env GO111MODULE=on go build
- ./build-without-openssl.bash
- ./build.bash
- ./gocryptfs -speed