machine:
  services:
    - docker
  environment:
    IMAGE: npm-lazy
    test: npm-lazy-test

dependencies:
  override:
    - docker build -t $IMAGE --rm=false .
    - docker pull node:0.12

test:
  pre:
    - docker run -d --name $test $IMAGE --port=80 --external-url=http://${test}
  override:
    - docker run --link $test -e npm_config_registry=http://${test} node:0.12 npm install --verbose minimist

machine:
  services:
    - docker
  environment:
    IMAGE: npm-lazy
    PACKAGE: process
    test: npm-lazy-test

dependencies:
  override:
    - docker build -t $IMAGE --rm=false .
    - docker pull node:0.12

test:
  pre:
    - docker run -d --name $test $IMAGE --port=80 --external-url=http://${test}
  override:
    - docker run --link $test -e npm_config_registry=http://${test} node:0.12 npm install --verbose $PACKAGE

Use package which has no additional dependencies for tests
Use package which has no additional dependencies for tests

