branches:
  only:
    - master

sudo: false

os:
  - osx

env:
  - NODE_VERSION="4.1"

before_install:
  # nvm is not yet supported on osx, manually install
  - git clone https://github.com/creationix/nvm.git /tmp/.nvm
  - source /tmp/.nvm/nvm.sh
  - nvm install $NODE_VERSION
  - nvm use --delete-prefix $NODE_VERSION

install:
  - npm install
  - npm run vscode:prepublish

script:
  - npm test
  - node_modules/.bin/gulp test

notifications:
  slack:
    secure: QvwxCvk/0b2bqj3sSNpcglqQvmt++uh4sH+vtyCfzQLG74k8MqpWClPuUCBJQw684lhWU6YRVSjy1Qx78reEQc+uQfw2gm62utGhFrHgqMi+kplhF6Hfqp368qhpDdyAzlGQiKjv7cFVmJszaDn1wLlNdcAFRnG3exDQEJYtUkofb7mVRchFd/NxX5Xt9apVwbvqPCTyEkrSY7eDNKiKgqDRJoFCmqeC1rgNuo7Y36LeCFAWFPWh7Z+8QnF+k/x2Y3+ljP77dah+TC5MvczbN5pPq1qX4XqBJIA4aiqOkfIsNXYK3xe2bOwX9SOeo+aMOqA39WoLiUy4T5jyivmkYXHiDaAxBl+HegxgRUXCbknUUmUglLWX4CHo00UqJJo/QzMRlxdjtYAPjOdy2qOI6F7ZS7A+uqBm1kIA5Er92pnAbosAtwKTTIZTfDdW/v1CJJsDzmD8LgjGjkGrGKHA8Z++AlNZpW2Hm60fatqenVWcIVFlHNEbMST6WuPsPJIp6J/m9I+uspfzlU0LjWYV77GaHN+WXMXYHpnAyctlqQddG0CuvPqS/AAQL1DlRaC5OiOCqwGtXtoejvngZ3xh90XItm66PQbc2rziBsvWfE55XpyoIIVsFaWokPz0lplJNsZSjA9M2XI0hLH+9eJb6mbp3MR6jfD5/PS5KqJq5AQ=
