Skip to content

Commit

Permalink
Update to Circle 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tysongach committed Mar 13, 2018
1 parent 44aa2fd commit 70ed0f1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
29 changes: 29 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,29 @@
version: 2

jobs:
build:
docker:
- image: circleci/ruby:2.4.3-node

steps:
- checkout

- restore_cache:
key: apprenticeio-{{ arch }}-{{ checksum "Gemfile.lock" }}

- run:
name: Install Ruby dependencies
command: bundle install --path vendor/bundle

- save_cache:
key: apprenticeio-{{ arch }}-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle

- run:
name: Build Middleman site
command: bundle exec middleman build --verbose

- run:
name: Run HTMLProofer
command: bundle exec htmlproofer ./tmp --check-html --check-favicon --disable-external
4 changes: 0 additions & 4 deletions circle.yml

This file was deleted.

0 comments on commit 70ed0f1

Please sign in to comment.