From 25fd8ea5054f4e1fab32b5e73898277cccc8d793 Mon Sep 17 00:00:00 2001 From: Kishan B Date: Sat, 12 May 2018 13:04:15 +0530 Subject: [PATCH] Build script upgrades --- .gitignore | 2 +- .travis.yml | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 18889c8..7f7d675 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ public/ -hugo-shopping-product-catalogue-simple \ No newline at end of file +exampleSite/themes/ \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 7cb998e..9369c8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,8 @@ sudo: false install: - - mkdir tools - - wget -q "https://github.com/gohugoio/hugo/releases/download/v0.40.2/hugo_0.40.2_Linux-64bit.tar.gz" -O "tools/hugo.tar.gz" - - tar -xzf tools/hugo.tar.gz + - mkdir tools && cd tools + - wget -q "https://github.com/gohugoio/hugo/releases/download/v0.40.2/hugo_0.40.2_Linux-64bit.tar.gz" -O "hugo.tar.gz" + - tar -xzf hugo.tar.gz script: - - cd exampleSite - - cp -r .. themes/ - - hugo -v + - git clone --depth 1 https://github.com/kishaningithub/hugo-shopping-product-catalogue-simple.git exampleSite/themes/ + - hugo -v --source exampleSite