Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EmielH/hallo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Hollander <EmielH@users.noreply.github.com>2018-12-08 12:47:18 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2018-12-08 12:47:18 +0300
commit70d77b43ca5bce598b06bff4e54c9c49345ba920 (patch)
tree5d44460c83d2a6eb1f346387ac02af5d64c2779f /.travis.yml
parenteb5ba4976722d672d0e06296e38b5fd33d69f611 (diff)
Improve automated tests
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
1 files changed, 12 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index 3401a70..6085764 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,15 +1,17 @@
+env:
+ - HUGO_VERSION="0.50"
+ - HUGO_VERSION="0.51"
+ - HUGO_VERSION="0.52"
+
install:
- - wget https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz
- - tar -xzvf hugo_0.52_Linux-64bit.tar.gz
- - chmod +x hugo
- - export PATH=$PATH:$PWD
+ - wget 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/
- hugo version
+ - gem install html-proofer
- git clone https://github.com/gohugoio/hugoBasicExample.git
- - cd hugoBasicExample
- - git submodule add -f https://github.com/EmielH/hallo-hugo.git themes/hallo
- - sudo apt-get install -y tree
- - tree
script:
- - hugo -t hallo
- - tree
+ - cd hugoBasicExample
+ - hugo -t hallo-hugo --themesDir ../..
+ - htmlproofer public --check-html --disable-external