hugo/.travis.yml
2017-11-08 00:37:59 +01:00

25 lines
438 B
YAML

language: go
sudo: required
dist: precise
go:
- 1.8.5
- 1.9.2
- tip
os:
- linux
- osx
matrix:
allow_failures:
- go: tip
fast_finish: true
install:
- go get github.com/magefile/mage
- mage vendor
script:
- mage hugoRace
- mage -v check
- ./hugo -s docs/
- ./hugo --renderToMemory -s docs/
before_install:
# gem install must be run with sudo on OSX
- sudo gem install asciidoctor | gem install asciidoctor