mirror of https://github.com/masayuki0812/c3.git
Quite good looking graph derived from d3.js
http://c3js.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
822 B
30 lines
822 B
7 years ago
|
version: 2
|
||
|
jobs:
|
||
|
build:
|
||
|
working_directory: ~/working_directory
|
||
|
docker:
|
||
|
- image: circleci/node:6-browsers
|
||
|
env:
|
||
|
- DISPLAY=:99
|
||
|
- CHROME_BIN=/usr/bin/google-chrome
|
||
|
steps:
|
||
|
- checkout
|
||
|
- run:
|
||
|
name: System information
|
||
|
command: |
|
||
|
echo "node $(node -v)"
|
||
|
echo "npm v$(npm --version)"
|
||
|
echo "$(google-chrome --version)"
|
||
|
- restore_cache:
|
||
|
key: v1-npm-dependencies-{{ .Branch }}-{{ checksum "package.json" }}
|
||
|
- run:
|
||
|
name: Install dependencies
|
||
|
command: npm install
|
||
|
- save_cache:
|
||
|
key: v1-npm-dependencies-{{ .Branch }}-{{ checksum "package.json" }}
|
||
|
paths:
|
||
|
- ./node_modules
|
||
|
- run:
|
||
|
name: Run Tests
|
||
|
command: npm run test
|