sudo: required
language: node_js
cache:
  directories:
    # cache node modules
    - node_modules
node_js:
  # use same node version as meteor does
  - "0.12"
services:
  - mongodb
before_install: curl https://install.meteor.com | /bin/sh
before_script:
  # remove unused node modules from cache
  - "npm prune"

sudo: required
language: node_js
cache:
  directories:
    # cache node modules
    - node_modules
node_js:
  # use same node version as meteor does
  - "5"
services:
  - mongodb
before_install: curl https://install.meteor.com | /bin/sh
before_script:
  # remove unused node modules from cache
  - "npm prune"

Revert "Revert "chore: change node version for Travis""
Revert "Revert "chore: change node version for Travis""

This reverts commit 551f05d145e091e8b3120a14e675e438a8ec4c0f.
