language: node_js
node_js:
  - "7"
services:
  - mongodb
after_success:
  - yarn run codecov
cache:
  yarn: true

language: node_js
dist: trusty
sudo: false
node_js:
  - "7"
services:
  - mongodb
after_success:
  - yarn run codecov
cache:
  yarn: true

Use trusty distribution for builds on Travis
Use trusty distribution for builds on Travis

This provides more recent versions of the required services e.g. mongo.
