mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-14 00:59:43 +00:00
Fix travis for hugo 0.42
This commit is contained in:
parent
0e3c99a9f1
commit
1096f450fc
1 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
||||||
|
git:
|
||||||
|
depth: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- HUGO_VERSION="0.41"
|
- 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
|
||||||
|
@ -9,5 +12,5 @@ install:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd exampleSite
|
- cd exampleSite
|
||||||
- hugo --themesDir .. -t . -v
|
- HUGO_THEME=hugo-theme-introduction hugo --themesDir ../.. -v
|
||||||
- htmlproofer public --check-html --disable-external
|
- htmlproofer public --check-html --disable-external
|
||||||
|
|
Loading…
Reference in a new issue