Skip to content

Commit

Permalink
chore(tests): test against both cerebral@0.33.x and upcoming `cereb…
Browse files Browse the repository at this point in the history
…ral@0.34`
  • Loading branch information
Guria committed Apr 19, 2016
1 parent 3352e86 commit f21c048
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules
.nyc_output
coverage
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ before_install:
before_script:
- npm prune
after_success:
- npm run coverage
- npm run semantic-release
branches:
except:
Expand Down
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"main": "index.js",
"scripts": {
"pretest": "standard",
"test": "nodeunit tests",
"coverage": "istanbul cover nodeunit tests",
"test": "nodeunit tests && npm i cerebral@0.34.0-rc.4 && nodeunit tests",
"posttest": "npm i",
"coverage": "nyc --reporter=lcov --reporter=text npm test",
"postcoverage": "cat ./coverage/lcov.info | coveralls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
Expand All @@ -26,14 +27,14 @@
},
"homepage": "https://github.com/cerebral/cerebral-module-recorder#readme",
"devDependencies": {
"cerebral": "^0.33.8",
"cerebral": "^0.33.33",
"commitizen": "^2.5.0",
"conventional-changelog": "0.0.17",
"coveralls": "^2.11.6",
"cz-customizable": "^2.7.0",
"ghooks": "^1.0.3",
"istanbul": "^0.4.2",
"nodeunit": "^0.9.1",
"nyc": "^6.4.0",
"semantic-release": "^4.3.5",
"standard": "^5.4.1",
"validate-commit-msg": "^1.1.1"
Expand All @@ -51,5 +52,10 @@
},
"release": {
"analyzeCommits": "./sr-prerelease.js"
},
"nyc": {
"exclude": [
"tests/*"
]
}
}

0 comments on commit f21c048

Please sign in to comment.