Skip to content

Commit

Permalink
Fix CI (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad committed Jan 5, 2020
1 parent e10127d commit 0ef5100
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
21 changes: 19 additions & 2 deletions .circleci/config.yml
@@ -1,6 +1,23 @@
version: 2.1

commands:
test-nodejs-old:
steps:
- run:
name: Versions
command: npm version
- checkout
- restore_cache:
keys:
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-master-{{ .Environment.CIRCLE_JOB }}
- run:
name: Install dependencies
command: npm install
- run:
name: Test
command: npm test
- save-npm-cache
test-nodejs:
steps:
- run:
Expand Down Expand Up @@ -29,12 +46,12 @@ jobs:
docker:
- image: node:4
steps:
- test-nodejs
- test-nodejs-old
node-v6:
docker:
- image: node:6
steps:
- test-nodejs
- test-nodejs-old
node-v8:
docker:
- image: node:8
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -49,7 +49,7 @@
},
"main": "./lib/forever",
"scripts": {
"test": "vows test/**/*-test.js --spec -i"
"test": "vows test/**/*-test.js --dot-matrix -i"
},
"engines": {
"node": ">= 0.8.x"
Expand Down

0 comments on commit 0ef5100

Please sign in to comment.