Skip to content

Commit 18ce1c9

Browse files
committed
chore: tweak build & tests
1 parent 10eeada commit 18ce1c9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
sudo: false
12
language: node_js
23
notifications:
34
email: false
45
before_script:
56
- npm install
67
node_js:
78
- "0.10"
8-
- "0.11"
9+
- 4

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ module.exports = function (grunt) {
1515
options: {
1616
banner: '/*! <%= pkg.name %> | v<%= pkg.version %> | (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %> | <%= pkg.licenses[0].url %> */\n',
1717
compress: {
18-
global_defs: {
18+
'global_defs': {
1919
DEBUG: false
2020
},
21-
dead_code: true
21+
'dead_code': true
2222
},
2323
report: 'gzip'
2424
},

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"url": "git://github.com/jsbin/loop-protect.git"
1111
},
1212
"scripts": {
13+
"version": "grunt dist && git add dist",
14+
"postversion": "git push && git push --tags",
1315
"test": "node_modules/mocha/bin/_mocha -t 25000 --ui bdd --reporter list test/*.test.js"
1416
},
1517
"devDependencies": {

0 commit comments

Comments
 (0)