shithub: hugo

ref: d4beef0d2bb8f6481fa80e1d938454a7d4e38814
dir: /.travis.yml/

View raw version
language: go
sudo: required
dist: precise
go:
  - 1.8.7
  - 1.9.4
  - 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