Skip to content

Instantly share code, notes, and snippets.

View travishorn's full-sized avatar
💡
Trying new ideas

Travis Horn travishorn

💡
Trying new ideas
View GitHub Profile
@travishorn
travishorn / Using Grunt with Travis-CI.md
Last active May 4, 2022 21:59
Using Grunt with Travis-CI

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:

{