From 62302f125bbd18ad2f18f99b5fca867fd26ba3a9 Mon Sep 17 00:00:00 2001 From: Emiel Hollander Date: Tue, 20 Nov 2018 19:52:24 +0100 Subject: Add integration with Travis CI --- .travis.yml | 15 +++++++++++++++ README.md | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7ecf2ec --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +install: + - wget https://github.com/gohugoio/hugo/releases/download/v0.51/hugo_0.51_Linux-64bit.tar.gz + - tar -xzvf hugo_0.51_Linux-64bit.tar.gz + - chmod +x hugo + - export PATH=$PATH:$PWD + - hugo version + - 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 diff --git a/README.md b/README.md index b91d47d..288301d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Hallo +[![Build Status](https://travis-ci.com/EmielH/hallo-hugo.svg?branch=master)](https://travis-ci.com/EmielH/hallo-hugo) + Hallo is a single-page Hugo theme for personal introductions. Add a portrait, an introduction, several links, and you're set. ![Hallo screenshot](https://raw.githubusercontent.com/EmielH/hallo-hugo/master/images/screenshot.png) -- cgit v1.2.3