machine:
  node:
    version: 0.12

checkout:
  post:
    - git submodule update --init

dependencies:
  cache_directories:
    - "node_modules"
  override:
    - npm install -g hexo-cli
    - npm install

test:
  override:
    # maybe we will need tests in the future
    - echo 'ok!'

deployment:
  s3:
    branch: /^(master|version-.*)/
    commands:
      - npm run deploy

machine:
  node:
    version: 4

checkout:
  post:
    - git submodule update --init

dependencies:
  cache_directories:
    - "node_modules"
  override:
    - npm install -g hexo-cli
    - npm install

test:
  override:
    # maybe we will need tests in the future
    - echo 'ok!'

deployment:
  s3:
    branch: /^(master|version-.*)/
    commands:
      - npm run deploy

Update CircleCI Node.js version to 4.
Update CircleCI Node.js version to 4.
