box: node:0.12

build:
  steps:
    - npm-install
    - script:
        name: echo nodejs information
        code: |
          echo "node version $(node -v) running"
          echo "npm version $(npm -v) running"
    - script:
        name: run tests
        code: |
          make test
          
  after-steps:
    # Run and report coverage
    - npm install -g codeclimate-test-reporter
    - codeclimate-test-reporter < coverage/lcov.info
box: node:0.12

build:
  steps:
    - npm-install
    - script:
        name: echo nodejs information
        code: |
          echo "node version $(node -v) running"
          echo "npm version $(npm -v) running"
    - script:
        name: lint code
        code: |
          make lint
    - script:
        name: run tests
        code: |
          make test
          
  after-steps:
    # Run and report coverage
    - script:
        name: run code coverage report
        code: |
          npm install -g codeclimate-test-reporter
          codeclimate-test-reporter < coverage/lcov.info
Add lint, switch coverage to script
Add lint, switch coverage to script
