box: 'nodesource/trusty:0.12'

services:
  - 'rethinkdb:2.0'
  - 'redis:3.0'

build:
  steps:
    - script:
        name: set NODE_ENV to development
        code: export NODE_ENV=development
    - npm-install
    - npm-test
    - script:
        name: echo nodejs information
        code: |
          echo "node version $(node -v) running"
          echo "npm version $(npm -v) running"

box: 'nodesource/trusty:0.12'

services:
  - 'rethinkdb:2.0'
  - 'redis:3.0'

build:
  steps:
    - script:
        name: set NODE_ENV to development
        code: export NODE_ENV=development
    - script:
        name: npm install
        code: npm install
    - script:
        name: bower install
        code: node_modules/bower/bin/bower install
    - script:
        name: npm test
        code: npm test
    - script:
        name: echo nodejs information
        code: |
          echo "node version $(node -v) running"
          echo "npm version $(npm -v) running"

Make sure bower install is run
Make sure bower install is run
