language: node_js

node_js:
  - "0.10"
  - "0.11"
  - "0.12"

env:
  - NODE_ENV=test

before_install:
  - npm install -g mocha
  - npm install -g nodemon
  - npm install -g gulp
  - npm install -g bower

script:
  - npm install

after_script:
  - ./node_modules/mocha/bin/mocha --timeout 5000 --reporter spec --recursive -t 5000 -G

notifications:
     email:
         recipients:
             - sharry@sosocial.com
             - jonny@sosocial.com
         on_success: change
         on_failure: always

# https://github.com/pilwon/ultimate-seed/blob/master/shippable.yml
# https://github.com/shippableSamples/sample_node/blob/master/shippable.yml