Skip to content

Commit

Permalink
chore(tests): test against both [email protected] and upcoming `cereb…
Browse files Browse the repository at this point in the history
  • Loading branch information
Guria committed Apr 19, 2016
1 parent af6aacc commit 2bc048f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.nyc_output
coverage
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- 'export $(cat .to_export_back) &> /dev/null'
- npn run coverage
- npm run coverage
- npm run semantic-release
branches:
except:
Expand Down
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"name": "cerebral-module-devtools",
"version": "0.0.0-semantically-released",
"version": "0.0.0-semantically-released",
"description": "Module to enable Google Chrome debugger extension for Cerebral application",
"main": "index.js",
"scripts": {
"pretest": "standard",
"test": "nodeunit tests",
"test": "nodeunit tests && npm i [email protected] && 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"
},
"repository": {
Expand All @@ -28,8 +31,8 @@
"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 @@ -50,5 +53,10 @@
},
"release": {
"analyzeCommits": "./sr-prerelease.js"
},
"nyc": {
"exclude": [
"tests/*"
]
}
}

0 comments on commit 2bc048f

Please sign in to comment.