Skip to content

Commit

Permalink
Merge 7c3652c into a8e36c6
Browse files Browse the repository at this point in the history
  • Loading branch information
pgilad committed Oct 21, 2015
2 parents a8e36c6 + 7c3652c commit 2d87b15
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
.DS_Store
node_modules
npm-
coverage
13 changes: 13 additions & 0 deletions .travis.yml
@@ -1,4 +1,17 @@
sudo: false
language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- npm test
- npm run coverage
after_script:
- npm run coveralls
2 changes: 2 additions & 0 deletions README.md
@@ -1,5 +1,7 @@
# ampersand-state

[![Coverage Status](https://coveralls.io/repos/AmpersandJS/ampersand-state/badge.svg?branch=master&service=github)](https://coveralls.io/github/AmpersandJS/ampersand-state?branch=master)

<!-- starthide -->
Part of the [Ampersand.js toolkit](http://ampersandjs.com) for building clientside applications.
<!-- endhide -->
Expand Down
8 changes: 6 additions & 2 deletions package.json
Expand Up @@ -46,6 +46,8 @@
"ampersand-collection": "^1.3.2",
"ampersand-registry": "0.x.x",
"browserify": "^11.0.1",
"coveralls": "^2.11.4",
"istanbul": "^0.4.0",
"jshint": "^2.5.3",
"phantomjs": "^1.9.7-15",
"precommit-hook": "^3.0.0",
Expand All @@ -68,14 +70,16 @@
},
"scripts": {
"test": "browserify test/index.js | tape-run | tap-spec",
"coverage": "rm -rf coverage && istanbul cover -- tape test/index.js --verbose",
"validate": "npm ls",
"start": "run-browser test/index.js",
"lint": "jshint --exclude benchmark/ .",
"lint": "jshint ampersand-state.js ./test/*",
"benchmark": "node --allow-natives-syntax benchmark/massCreate.js",
"preversion": "git checkout master && git pull && npm ls",
"publish-patch": "npm run preversion && npm version patch && git push origin master --tags && npm publish",
"publish-minor": "npm run preversion && npm version minor && git push origin master --tags && npm publish",
"publish-major": "npm run preversion && npm version major && git push origin master --tags && npm publish"
"publish-major": "npm run preversion && npm version major && git push origin master --tags && npm publish",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"testling": {
"files": "test/*.js",
Expand Down

0 comments on commit 2d87b15

Please sign in to comment.