diff --git a/.travis.yml b/.travis.yml
index 8515f3ff65d91c7de7e7dea277853a2105f8f5c8..befad1f04215ae6bcee5b5ff239c4dae8d36471a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,4 +18,4 @@ jobs:
   - name: Run tests
     script: make --always-make test
   - name: Run e2e tests
-    script: GO111MODULE=on ./tests/e2e/travis-e2e.sh
+    script: ./tests/e2e/travis-e2e.sh
diff --git a/Makefile b/Makefile
index 2a6675830f05a27cf7083156089fed52992a1353..54c18d3b34b7d8d552b5bdd5df7340f0550e6757 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
 SHELL=/bin/bash -o pipefail
 
+export GO111MODULE=on
+
 BIN_DIR?=$(shell pwd)/tmp/bin
 
 EMBEDMD_BIN=$(BIN_DIR)/embedmd