mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 22:17:28 +00:00
Simplify Travis build
This commit is contained in:
1 parent
d72c454f78
commit
d3627b1747
2 files changed
+4
-4
No files matched your search
@@ -19,6 +19,3 @@ script:
|
|||||||
before_install:
|
before_install:
|
||||||
- gem install asciidoctor
|
- gem install asciidoctor
|
||||||
- sudo pip install docutils
|
- sudo pip install docutils
|
||||||
install:
|
|
||||||
- go get github.com/stretchr/testify
|
|
||||||
- go get -v ./...
|
|
||||||
@@ -35,7 +35,7 @@ docker:
|
|||||||
docker rm hugo-build
|
docker rm hugo-build
|
||||||
|
|
||||||
|
|
||||||
check: fmt vet test test-race
|
check: get fmt vet test test-race
|
||||||
|
|
||||||
cyclo:
|
cyclo:
|
||||||
@for d in $(DIRS) ; do \
|
@for d in $(DIRS) ; do \
|
||||||
@@ -56,6 +56,9 @@ lint:
|
|||||||
echo "^ golint errors!" && echo && exit 1; \
|
echo "^ golint errors!" && echo && exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
get:
|
||||||
|
go get -v -t ./...
|
||||||
|
|
||||||
test:
|
test:
|
||||||
go test ./...
|
go test ./...
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user