Skip to content

Commit

Permalink
chore: tweak build & tests
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Jan 8, 2016
1 parent 10eeada commit 18ce1c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
sudo: false
language: node_js
notifications:
email: false
before_script:
- npm install
node_js:
- "0.10"
- "0.11"
- 4
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ module.exports = function (grunt) {
options: {
banner: '/*! <%= pkg.name %> | v<%= pkg.version %> | (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %> | <%= pkg.licenses[0].url %> */\n',
compress: {
global_defs: {
'global_defs': {
DEBUG: false
},
dead_code: true
'dead_code': true
},
report: 'gzip'
},
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"url": "git://github.com/jsbin/loop-protect.git"
},
"scripts": {
"version": "grunt dist && git add dist",
"postversion": "git push && git push --tags",
"test": "node_modules/mocha/bin/_mocha -t 25000 --ui bdd --reporter list test/*.test.js"
},
"devDependencies": {
Expand Down

0 comments on commit 18ce1c9

Please sign in to comment.