dependencies:
  cache_directories:
    - "dev_bundle"
    - ".meteor"
    - ".babel-cache"
  override:
    - ./meteor --get-ready

test:
  override:
    - ./scripts/ci.sh :
        parallel: true
        timeout: 1200

dependencies:
  pre:
    # https://github.com/meteor/docs/blob/version-NEXT/long-form/file-change-watcher-efficiency.md
    - echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
  cache_directories:
    - "dev_bundle"
    - ".meteor"
    - ".babel-cache"
  override:
    - ./meteor --get-ready

test:
  override:
    - ./scripts/ci.sh :
        parallel: true
        timeout: 1200

Increase inotify user watch count for Circle CI tests.
Increase inotify user watch count for Circle CI tests.

See also: https://circleci.com/blog/sudo-circleci-make-me-a-sandwich/
