mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2025-02-05 14:30:01 +00:00
Add htmlproofer to travis
This commit is contained in:
parent
2b1d2c3e8e
commit
866541cb3c
1 changed files with 4 additions and 2 deletions
|
@ -1,11 +1,13 @@
|
||||||
env:
|
env:
|
||||||
- HUGO_VERSION="0.42.1"
|
- HUGO_VERSION="0.42.2"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- wget -q https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
|
- 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
|
- tar xf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
|
||||||
- mv hugo ~/bin/
|
- mv hugo ~/bin/
|
||||||
|
- gem install html-proofer
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd exampleSite
|
- cd exampleSite
|
||||||
- hugo --themesDir .. -t .
|
- hugo --themesDir .. -t . -v
|
||||||
|
- htmlproofer public --check-html --disable-external
|
||||||
|
|
Loading…
Reference in a new issue