Permalink
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 501 Bytes
git:
depth: false
env:
- HUGO_VERSION="0.48"
- HUGO_VERSION="0.49.2"
- HUGO_VERSION="0.50"
- HUGO_VERSION="0.51"
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