box: wercker/nodejs
# Build definition
build:
  # The steps that will be executed on build
  steps:
    # A step that executes `npm install` command
    - npm-install
    # A step that executes `npm test` command
    - npm-test
    # Build Code Coverage
    - script:
        name: set coveralls token
        code: |
          echo service_name: wercker > .coveralls.yml
          echo repo_token: $COVERALLS_TOKEN >> .coveralls.yml
          export COVERALLS_SERVICE_NAME=wercker
          export COVERALLS_REPO_TOKEN=$COVERALLS_TOKEN
    - script:
        name: send to reports to coveralls
        code: make coveralls
box: wercker/nodejs
# Build definition
build:
  # The steps that will be executed on build
  steps:
    # A step that executes `npm install` command
    - npm-install
    # A step that executes `npm test` command
    - npm-test
    # Build Code Coverage
    - script:
        name: set coveralls token
        code: |
          echo service_name: wercker > .coveralls.yml
          echo repo_token: $COVERALLS_TOKEN >> .coveralls.yml
          export COVERALLS_SERVICE_NAME=wercker
          export COVERALLS_REPO_TOKEN=$COVERALLS_TOKEN
          export COVERALLS_GIT_COMMIT=$WERCKER_GIT_COMMIT
          export COVERALLS_SERVICE_JOB_ID=$WERCKER_BUILD_ID
    - script:
        name: send to reports to coveralls
        code: make coveralls
Add git commit and job id to coveralls environment variables
Add git commit and job id to coveralls environment variables
