machine:
  xcode:
    version: 8.3
  environment:
    NVM_DIR: "${HOME}/.nvm"
    NODE_VERSION: "8.1.4"

dependencies:
  pre:
  - brew update
  - brew install nvm llvm
  - mkdir -p ${NVM_DIR}
  - echo "source /usr/local/opt/nvm/nvm.sh" >> ~/.bashrc
  - nvm install ${NODE_VERSION}
  - nvm alias default ${NODE_VERSION}
  override:
  - npm install

test:
  override:
  - npm run ci:circle
  - npm run lint
  - npm run format && git diff

machine:
  xcode:
    version: 8.3
  environment:
    NVM_DIR: "${HOME}/.nvm"
    NODE_VERSION: "8.1.4"
    PATH: "${PATH}:/usr/local/opt/llvm/bin"

dependencies:
  pre:
  - brew update
  - brew install nvm llvm
  - mkdir -p ${NVM_DIR}
  - echo "source /usr/local/opt/nvm/nvm.sh" >> ~/.bashrc
  - nvm install ${NODE_VERSION}
  - nvm alias default ${NODE_VERSION}
  override:
  - npm install

test:
  override:
  - npm run ci:circle
  - npm run lint
  - npm run format && git diff

Add llvm to the PATH on CircleCI
Add llvm to the PATH on CircleCI
