Skip to content

Commit

Permalink
Merge pull request #145 from josephfrazier/local-grunt-cli
Browse files Browse the repository at this point in the history
Add grunt-cli to devDependencies
  • Loading branch information
cconcolato authored Apr 30, 2019
2 parents 11333cc + 3d22169 commit ef3eacd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
before_script:
- 'npm install -g grunt-cli'
- 'npm install grunt'
- 'npm install karma'
- 'npm install grunt-karma'
- 'npm install karma-phantomjs-launcher'
before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
deploy:
- provider: releases
api_key:
Expand Down
8 changes: 8 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ module.exports = function(config) {
frameworks: ['qunit'],


// client configuration
client: {
qunit: {
testTimeout: 5000
}
},


// list of files / patterns to load in the browser
files: [
'../src/log.js', // logging system
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"blanket": "^1.2.3",
"grunt": "^0.4.5",
"grunt-bump": "^0.3.1",
"grunt-cli": "^1.2.0",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-qunit": "^0.5.2",
Expand All @@ -38,6 +39,7 @@
"karma-chrome-launcher": "^0.1.12",
"karma-coverage": "^0.5.5",
"karma-firefox-launcher": "^0.1.6",
"karma-phantomjs-launcher": "^1.0.4",
"karma-qunit": "^0.1.4",
"qunitjs": "^1.23.0"
},
Expand Down

0 comments on commit ef3eacd

Please sign in to comment.