If you are using Grunt to run your tests and Travis-CI for your continuous integration, you will need to command Travis-CI to install the grunt-cli before running your test script(s). grunt-cli is meant to be a global package, so adding it to your dependencies or devDependencies is not ideal.
You'll need the following your package.json
...
- Test script command
- Grunt and any plugins as dependencies
Like so:
{