CircleCI 2.0 🎉
This commit is contained in:
parent
462dd261c3
commit
c223a1f404
2 changed files with 17 additions and 12 deletions
17
.circleci/config.yml
Normal file
17
.circleci/config.yml
Normal 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
|
12
circle.yml
12
circle.yml
|
@ -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
|
Loading…
Reference in a new issue