Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Add CircleCI to ensure npm support on unix machines
Browse files Browse the repository at this point in the history
Add missing babel-jest for CircleCI (not sure why it's ok for travis/yarn)
  • Loading branch information
MoOx committed Nov 13, 2016
1 parent 9a821b8 commit 4b805aa
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# [![Phenomic](https://rawgit.com/MoOx/phenomic/master/logo/phenomic.svg)](https://phenomic.io)

[![Unix Build status](https://img.shields.io/travis/MoOx/phenomic/master.svg?branch=master&label=unix%20build)](https://travis-ci.org/MoOx/phenomic)
[![Unix/Yarn Build status](https://img.shields.io/travis/MoOx/phenomic/master.svg?label=unix%2Fyarn%20build)](https://travis-ci.org/MoOx/phenomic)
[![Unix/npm Build status](https://img.shields.io/circleci/project/github/MoOx/phenomic/master.svg?label=unix%2Fnpm%20build)](https://circleci.com/gh/MoOx/phenomic)
[![Windows Build status](https://img.shields.io/appveyor/ci/MoOx/phenomic/master.svg?label=window%20build)](https://ci.appveyor.com/project/MoOx/phenomic/branch/master)
[![Code Coverage](https://img.shields.io/coveralls/MoOx/phenomic/master.svg)](https://coveralls.io/github/MoOx/phenomic)
[![Version](https://img.shields.io/npm/v/phenomic.svg)](https://github.com/MoOx/phenomic/blob/master/CHANGELOG.md)
Expand Down
18 changes: 18 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
machine:
node:
version: 6

dependencies:
override:
- npm prune
- npm install

cache_directories:
- node_modules
- docs/node_modules
- themes/phenomic-theme-base/node_modules
- test-setup/node_modules

test:
override:
- npm test && npm run docs-webpack-2-test && npm run docs-webpack-2-reset
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-eslint": "^7.0.0",
"babel-jest": "^17.0.0",
"babel-plugin-flow-react-proptypes": "^0.10.1",
"babel-plugin-istanbul": "^2.0.0",
"babel-preset-latest": "^6.14.0",
Expand Down

0 comments on commit 4b805aa

Please sign in to comment.