Files
cos-go-sdk-v5/Makefile
toranger 4cc9e08da1 Add ci test with the testify and travis, test the working
fix travis yml and test

fix travis yml and test

Fix yml and import package

fix

fix ci_test

go on test

ci

Remote other infos
2019-01-31 15:45:20 +08:00

23 lines
383 B
Makefile

help:
@echo "test run test"
@echo "lint run lint"
@echo "example run examples"
.PHONY: test
test:
go test -v -cover -coverprofile cover.out
go tool cover -html=cover.out -o cover.html
.PHONY: lint
lint:
gofmt -s -w .
goimports -w .
golint .
go vet
.PHONY: example
example:
cd example && sh test.sh
ci-test:
cd costesting && go test -v