Skip to content

Commit

Permalink
chore(travis): remove global grunt dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
boennemann committed Jan 18, 2015
1 parent 83f58c5 commit 72ab277
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
language: node_js
node_js:
- '0.10'
before_script:
- npm install -g grunt-cli
before_install:
- sudo apt-get update -qq
- sudo apt-get install graphicsmagick
before_deploy:
- grunt before-deploy
- npm run before-deploy
after_deploy:
- grunt after-deploy
- npm run after-deploy
deploy:
provider: npm
email: [email protected]
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@
"node": ">= 0.8.0"
},
"scripts": {
"test": "grunt test"
"test": "grunt test",
"before-deploy": "grunt before-deploy",
"after-deploy": "grunt after-deploy"
},
"devDependencies": {
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-nodeunit": "^0.4.1",
Expand Down

0 comments on commit 72ab277

Please sign in to comment.