summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 6a784f2272a8237fbbccbb6643aba2d700330278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: go
sudo: false
dist: trusty
go:
  - 1.9.4
  - "1.10"
  - 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:
  - which asciidoctor || true
  - gem install asciidoctor
  - which asciidoctor || true
  - type asciidoctor || true