From c223a1f4048052ceef0e6a0c7a27aa4c8607fd13 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 11 Nov 2017 15:41:19 +0000 Subject: [PATCH] CircleCI 2.0 :tada: --- .circleci/config.yml | 17 +++++++++++++++++ circle.yml | 12 ------------ 2 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 circle.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..4de71d4 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,17 @@ +version: 2.0 + +jobs: + build: + docker: + - image: circleci/node:6.10 + steps: + - checkout + - run: + name: Install Hugo + command: wget https://github.com/gohugoio/hugo/releases/download/v0.29/hugo_0.29_Linux-64bit.deb -O /tmp/hugo.deb && sudo dpkg -i /tmp/hugo.deb + - run: + name: Build site + command: make build + - run: + name: Run Tests + command: make test diff --git a/circle.yml b/circle.yml deleted file mode 100644 index 7be4bb7..0000000 --- a/circle.yml +++ /dev/null @@ -1,12 +0,0 @@ -machine: - node: - version: 6.11.2 - -dependencies: - pre: - - wget https://github.com/gohugoio/hugo/releases/download/v0.29/hugo_0.29_Linux-64bit.deb -O /tmp/hugo.deb && sudo dpkg -i /tmp/hugo.deb - -test: - override: - - make build - - make test