mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
Simplify Travis build
This commit is contained in:
@@ -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 ./...
|
|
||||||
|
5
Makefile
5
Makefile
@@ -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