aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: efc3758e14823bbd9eeb904f7ab6216141a09db6 (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
28
29
30
31
32
33
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