Permalink
Please sign in to comment.
Showing
with
20 additions
and 16 deletions.
- +20 −0 .circleci/config.yml
- +0 −16 circle.yml
| @@ -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 |
16
circle.yml
| @@ -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