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"