language: node_js
node_js:
- '6'
env:
  global:
  - CI=true
  - NODE_ENV=test
  - AWS_REGION=us-west-2
before_install:
  # Repo for Yarn
  - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
  - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  - sudo apt-get update -qq
  - sudo apt-get install -y -qq yarn=0.22.0-1
install: npm run build
script: npm test
cache: yarn

language: node_js
node_js:
- '6'
env:
  global:
  - CI=true
  - NODE_ENV=test
  - AWS_REGION=us-west-2
before_install:
  # Repo for Yarn
  - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
  - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  - sudo apt-get update -qq
  - sudo apt-get install -y -qq yarn=0.22.0-1
install: npm run all:install
script: npm test
cache: yarn

Remove Docker from build command.
Remove Docker from build command.
