Add ci/cd

This commit is contained in:
Toni Melisma 2020-10-13 23:13:39 +03:00
parent 02c850ed1a
commit f6910d0ba8
3 changed files with 20 additions and 1 deletions

4
.gitignore vendored
View File

@ -14,4 +14,6 @@
# Dependency directories (remove the comment below to include it)
vendor/
.env
.env
bin/

4
.travis.yml Normal file
View File

@ -0,0 +1,4 @@
language: go
go:
- 1.15.2

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
all: deps test build
deps:
go get ./...
test:
go test -v ./...
build:
go build -o bin/fastgallery cmd/fastgallery/main.go
clean:
rm bin/fastgallery