From 535f7723ce976782ececf05c6620094a67a1ed47 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Sun, 9 Jun 2019 20:38:26 +0300 Subject: [PATCH] Possible fix for travis --- .travis.yml | 9 ++++++--- Makefile | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e28edcd..726fbb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,15 @@ +go_import_path: github.com/Neur0toxine/bash.im-telegram-bot dist: xenial language: go -go_import_path: github.com/Neur0toxine/bash.im-telegram-bot cache: directories: - $HOME/.cache/go-build - - $HOME/gopath/pkg/mod + - $HOME/gopath/pkg go: - "1.12" script: - "make test" - - "make build" \ No newline at end of file + - "make build" +env: + - GO111MODULE=on +install: true \ No newline at end of file diff --git a/Makefile b/Makefile index 7180324..b1683af 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ PROJECT_DIR=$(shell pwd) GOPATH=$(PROJECT_DIR) SRC=$(PROJECT_DIR)/src BIN=$(PROJECT_DIR)/bin/bash_im_bot +GO111MODULE=on build: fmt deps @echo "- Building"