# This references a standard debian container from the
# Docker Hub https://registry.hub.docker.com/_/debian/
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: nodesource/trusty:4.2.1
# You can also use services such as databases. Read more on our dev center:
# http://devcenter.wercker.com/docs/services/index.html
# services:
    # - postgres
    # http://devcenter.wercker.com/docs/services/postgresql.html

    # - mongodb
    # http://devcenter.wercker.com/docs/services/mongodb.html

# The Steps that should be installed from the wercker step repository
steps:
  - wercker/npm-install@1.1.4
  - wercker/npm-test@0.0.3

# This is the build pipeline. Pipelines are the core of wercker
# Read more about pipelines on our dev center
# http://devcenter.wercker.com/docs/pipelines/index.html
build:
    # Steps make up the actions in your pipeline
    # Read more about steps on our dev center:
    # http://devcenter.wercker.com/docs/steps/index.html
  steps:
    - script:
      name: Install TypeScript
      code: |
        sudo npm install -g typescript
    - script:
      name: Install Mocha
      code: |
        sudo npm install -g mocha
    - npm-install:
      name: Install Deps
    - npm-test:
      name: Test RxUI
# This references a standard debian container from the
# Docker Hub https://registry.hub.docker.com/_/debian/
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: 
  id: nodesource/trusty:4.4.0
  env:
    NODE_ENV: test
    
# You can also use services such as databases. Read more on our dev center:
# http://devcenter.wercker.com/docs/services/index.html
# services:
    # - postgres
    # http://devcenter.wercker.com/docs/services/postgresql.html

    # - mongodb
    # http://devcenter.wercker.com/docs/services/mongodb.html

# The Steps that should be installed from the wercker step repository
steps:
  - wercker/npm-install@1.1.4
  - wercker/npm-test@0.0.3

# This is the build pipeline. Pipelines are the core of wercker
# Read more about pipelines on our dev center
# http://devcenter.wercker.com/docs/pipelines/index.html
build:
    # Steps make up the actions in your pipeline
    # Read more about steps on our dev center:
    # http://devcenter.wercker.com/docs/steps/index.html
  steps:
    - script:
      name: Install TypeScript
      code: |
        sudo npm install -g typescript
    - script:
      name: Install Mocha
      code: |
        sudo npm install -g mocha
    - npm-install:
      name: Install Deps
    - npm-test:
      name: Test RxUI
Change Node Environment to Test
Change Node Environment to Test
