machine:
  environment:
    XCODE_SCHEME: test
    XCODE_WORKSPACE: test
    XCODE_PROJECT: test

  xcode:
    version: 7.3

dependencies:
  pre:
    - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash
    - nvm install 4.4.7
    - nvm use 4.4.7
    - npm install -g npm
    - script/fingerprint-clean

  override:
    - script/bootstrap

  post:
    - script/fingerprint-write

  cache_directories:
    - apm/node_modules
    - build/node_modules
    - node_modules

test:
  override:
    - script/grunt ci

machine:
  environment:
    XCODE_SCHEME: test
    XCODE_WORKSPACE: test
    XCODE_PROJECT: test

  xcode:
    version: 7.3

general:
  artifacts:
    - out/Atom.app

dependencies:
  pre:
    - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash
    - nvm install 4.4.7
    - nvm use 4.4.7
    - npm install -g npm
    - script/fingerprint-clean

  override:
    - script/bootstrap

  post:
    - script/fingerprint-write

  cache_directories:
    - apm/node_modules
    - build/node_modules
    - node_modules

test:
  override:
    - script/grunt ci

Make Atom.app downloadable from the artifacts
Make Atom.app downloadable from the artifacts
