]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commitdiff
travis: set GO111MODULE=on for 'go get'
authorEric Biggers <ebiggers@google.com>
Wed, 27 Nov 2019 00:52:43 +0000 (16:52 -0800)
committerEric Biggers <ebiggers@google.com>
Wed, 27 Nov 2019 01:13:04 +0000 (17:13 -0800)
Ensure that the environmental variable GO111MODULE is set to "on" when
running 'go get'.  This fixes a CI failure with Go 1.11 and 1.12.

.travis.yml

index 82dbc3aaf8aae1494461c95c7adda81e90323b5b..e19ffa8374b1a27e1715a6f7fd50d2a97e66e962 100644 (file)
@@ -35,7 +35,7 @@ jobs:
       name: Build and Unit Tests
       install: skip
       script:
-        - go get github.com/google/fscrypt/cmd/fscrypt
+        - GO111MODULE=on go get github.com/google/fscrypt/cmd/fscrypt
         - make
 
     - <<: *build