mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 22:52:54 +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:
|
||||
- HUGO_VERSION="0.42.1"
|
||||
- HUGO_VERSION="0.42.2"
|
||||
|
||||
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 --themesDir .. -t .
|
||||
- hugo --themesDir .. -t . -v
|
||||
- htmlproofer public --check-html --disable-external
|
||||
|
|
Loading…
Reference in a new issue