title: nyc coveralls integration not working
body: <p>I try to make <code>nyc</code> working with <code>coveralls</code> following the instruction:
  <a href="https://github.com/istanbuljs/nyc#integrating-with-coveralls" rel="nofollow noreferrer">https://github.com/istanbuljs/nyc#integrating-with-coveralls</a></p>
  
  <p>But I can't get it to work. Here is an example repo:
  <a href="https://github.com/unional/showdown-highlightjs-extension" rel="nofollow noreferrer">https://github.com/unional/showdown-highlightjs-extension</a></p>
  
  <p>Travis build is successful: <a href="https://travis-ci.org/unional/showdown-highlightjs-extension" rel="nofollow noreferrer">https://travis-ci.org/unional/showdown-highlightjs-extension</a></p>
  
  <p>And Coveralls notice the build, but does not seem to get any data:
  <a href="https://coveralls.io/github/unional/showdown-highlightjs-extension" rel="nofollow noreferrer">https://coveralls.io/github/unional/showdown-highlightjs-extension</a></p>
  
  <p>Here is my <code>.travis.yml</code>:</p>
  
  <pre><code>language: node_js
  
  notifications:
    email:
      on_success: never
      on_failure: change
  
  node_js:
    - "stable"
  
  before_install:
    - npm install -g npm
  
  script:
    - npm run verify
  
  after_script:
    - npm install coveralls &amp;&amp; npm run coveralls
  </code></pre>
  
  <p>And here is my <code>package.json</code>:</p>
  
  <pre><code>{
    ...
    "scripts": {
      "coverage": "npm test &amp;&amp; nyc check-coverage --branches 85 --functions 85 --lines 85",
      "coveralls": "nyc report --reporter=text-lcov | coveralls",
      "test": "npm run clean &amp;&amp; tsc &amp;&amp; nyc ava"
      ...
    },
    "nyc": {
      "exclude": [
        "scripts",
        "**/*.spec.*",
        "**/fixtures/**/*"
      ]
    },
    ...
  }
  </code></pre>