Possible fix for travis

This commit is contained in:
Pavel 2019-06-09 20:38:26 +03:00
parent 590e8e0db0
commit 535f7723ce
2 changed files with 7 additions and 3 deletions

View File

@ -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"
- "make build"
env:
- GO111MODULE=on
install: true

View File

@ -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"