From 29d8f6689cf1fb4a6eab9d45a34332ac77319925 Mon Sep 17 00:00:00 2001 From: Hanzei Date: Sun, 10 Jun 2018 08:19:43 +0200 Subject: Add travis script --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..97993ea --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +env: + - HUGO_VERSION="0.41" + +install: + - 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/ + +script: + - cd exampleSite + - hugo --themesDir .. -t . -- cgit v1.2.3 From dab3cb480e8c56a28a7b81e05859c1fbe748fc1e Mon Sep 17 00:00:00 2001 From: Hanzei Date: Sun, 10 Jun 2018 12:23:51 +0200 Subject: Add travis badge --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c056d39..fa1d60a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Introduction theme for Hugo +[![Build Status](https://travis-ci.com/vickylai/hugo-theme-introduction.svg?branch=master)](https://travis-ci.com/vickylai/hugo-theme-introduction) A minimal, single page, smooth scrolling theme for Hugo. @@ -43,7 +44,7 @@ Start with: Run: ```sh -$ hugo new about.md +$ hugo new about.md $ hugo new contact.md ``` Then edit the markdown files with the content you'd like shown in your main page's About and Contact sections. @@ -113,4 +114,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . \ No newline at end of file +along with this program. If not, see . -- cgit v1.2.3