hugo-theme-introduction/.travis.yml
2018-12-25 11:06:19 +01:00

21 lines
549 B
YAML

git:
depth: false
env:
- HUGO_VERSION="0.48"
- HUGO_VERSION="0.49.2"
- HUGO_VERSION="0.50"
- HUGO_VERSION="0.51"
- HUGO_VERSION="0.52"
- HUGO_VERSION="0.53"
install:
- wget -q https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
- tar xf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
- mv hugo ~/bin/
- gem install html-proofer
script:
- cd exampleSite
- HUGO_THEME=hugo-theme-introduction hugo --themesDir ../.. -v
- htmlproofer public --check-html --disable-external