mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-05 08:42:12 +00:00
Simplify Travis build
This commit is contained in:
parent
d72c454f78
commit
d3627b1747
|
@ -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 ./...
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue