1
Fork 0

CircleCI 2.0 🎉

This commit is contained in:
Jake Howard 2017-11-11 15:41:19 +00:00
parent 462dd261c3
commit c223a1f404
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 17 additions and 12 deletions

17
.circleci/config.yml Normal file
View file

@ -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

View file

@ -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