hugo-theme-introduction/.travis.yml

14 lines
375 B
YAML
Raw Normal View History

2018-06-10 06:19:43 +00:00
env:
2018-06-28 17:04:56 +00:00
- HUGO_VERSION="0.42.2"
2018-06-10 06:19:43 +00:00
install:
- wget -q https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
2018-06-10 06:19:43 +00:00
- tar xf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
- mv hugo ~/bin/
2018-06-28 17:04:56 +00:00
- gem install html-proofer
2018-06-10 06:19:43 +00:00
script:
- cd exampleSite
2018-06-28 17:04:56 +00:00
- hugo --themesDir .. -t . -v
- htmlproofer public --check-html --disable-external