machine:
  environment:
    SPEC_OPTS: "-f d --color"
  ruby:
    version: 2.1.3

checkout:
  post:
    - mkdir -p tmp
    - sync

dependencies:
  pre:
    - wget http://packages.treasuredata.com.s3.amazonaws.com/2/ubuntu/precise/pool/contrib/t/td-agent/td-agent_2.1.3-0_amd64.deb
    - sudo dpkg -i td-agent_2.1.3-0_amd64.deb

machine:
  environment:
    SPEC_OPTS: "-f d --color"
  ruby:
    version: 2.1.3

checkout:
  post:
    - mkdir -p tmp
    - sync

dependencies:
  pre:
    - wget http://packages.treasuredata.com.s3.amazonaws.com/2/ubuntu/precise/pool/contrib/t/td-agent/td-agent_2.2.0-0_amd64.deb
    - sudo dpkg -i td-agent_2.2.0-0_amd64.deb

Use the latest td-agent (2.2.0)
Use the latest td-agent (2.2.0)
