mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
cf47f43ff1
To hopefully make them less flaky.
33 lines
577 B
YAML
33 lines
577 B
YAML
language: go
|
|
sudo: false
|
|
dist: trusty
|
|
env:
|
|
HUGO_BUILD_TAGS="extended"
|
|
git:
|
|
depth: false
|
|
go:
|
|
- 1.11
|
|
- tip
|
|
os:
|
|
- linux
|
|
- osx
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
fast_finish: true
|
|
install:
|
|
- mkdir -p $HOME/src
|
|
- mv $HOME/gopath/src/github.com/gohugoio/hugo $HOME/src
|
|
- export TRAVIS_BUILD_DIR=$HOME/src/hugo
|
|
- cd $HOME/src/hugo
|
|
- go get github.com/magefile/mage
|
|
script:
|
|
- go mod download
|
|
- mage -v test
|
|
- mage -v check
|
|
- mage -v hugo
|
|
- ./hugo -s docs/
|
|
- ./hugo --renderToMemory -s docs/
|
|
before_install:
|
|
- gem install asciidoctor
|
|
- type asciidoctor
|