title: Travis CI, error on npm test using mocha
body: <p>I'm trying to use Travis CI to run my mocha + chai tests for the first time and I cant seem to figure out why this is happening.</p>
  <p>When the Travis build runs:</p>
  <blockquote>
  <p>mocha</p>
  <p>sh: 1: mocha: not found</p>
  <p>The command &quot;npm test&quot; exited with 1.</p>
  </blockquote>
  <p>.travis.yml</p>
  <pre><code>language: node_js
  
  node_js:
  - &quot;8&quot;
  </code></pre>
  <p>package.json (not the whole thing)</p>
  <pre><code>&quot;scripts&quot;: {
      &quot;test&quot;: &quot;mocha&quot;
  },
  &quot;Dependencies&quot;: {
      &quot;mocha&quot;: &quot;3.4.2&quot;,
      &quot;chai&quot;: &quot;4.0.2&quot;
  },
  </code></pre>
  <p>I also tried the test being: &quot;test&quot;: &quot;./node_modules/.bin/mocha&quot; but that didn't work either.</p>
  <p>Thanks for your help!</p>
  <p>EDIT:</p>
  <p>I'm not the smartest.... had Dependencies instead of dependencies (left over from when it said devDependencies!)</p>
  <hr />