Permalink
Browse files

Migrate to CircleCI 2.0

Closes gh-1852
  • Loading branch information...
serima authored and ariya committed Sep 12, 2017
1 parent 1e6ca4b commit bf3ae450343b8cb3126e08e7c95777ac5c9f275d
Showing with 20 additions and 16 deletions.
  1. +20 −0 .circleci/config.yml
  2. +0 −16 circle.yml
View
@@ -0,0 +1,20 @@
+version: 2
+jobs:
+ build:
+ working_directory: ~/working_directory
+ docker:
+ - image: node:6
+ environment:
+ NO_WATCH_TESTS: 1
+ steps:
+ - checkout
+ - run: node --version
+ - run: npm --version
+ - restore_cache:
+ key: v1-npm-dependencies-{{ .Branch }}-{{ checksum "package.json" }}
+ - run: npm install
+ - save_cache:
+ key: v1-npm-dependencies-{{ .Branch }}-{{ checksum "package.json" }}
+ paths:
+ - ./node_modules
+ - run: npm run circleci
View
@@ -1,16 +0,0 @@
-machine:
- node:
- version: 6.1.0
- environment:
- NO_WATCH_TESTS: 1
-
-dependencies:
- pre:
- - node --version
- - npm --version
- - npm install
-
-test:
- override:
- - npm run circleci:
- timeout: 1200 # 20 minutes

0 comments on commit bf3ae45

Please sign in to comment.