sudo: false
language: node_js
node_js: "5.3"
addons:
  firefox: "46.0"
cache:
  directories:
      - node_modules
install:
      - travis_retry npm install
      - npm install -g coveralls
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start
script:
  - wct --local=firefox
after_success: "cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | coveralls"

sudo: false
language: node_js
node_js: "5.3"
addons:
  firefox: "46.0"
cache:
  directories:
      - node_modules
install:
      - travis_retry npm install
      - npm install -g coveralls@2.11.3
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start
script:
  - wct --local=firefox
after_success: "cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | coveralls"

Use a fixed version of coveralls
Use a fixed version of coveralls

Any newer version has hardcoded build commit to use HEAD which will
prevent correct sources to be used in coveralls.io
