language: node_js
node_js:
  - "4.4"
before_install:
  # Repo for Yarn
  - sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
  - 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
install:
  - yarn install
script:
  - yarn run grunt build
  - yarn run grunt tslint
  - yarn run grunt unit_test_nobuild
sudo: false
cache:
  directories:
    - $HOME/.yarn-cache
language: node_js
node_js:
  - "4.4"
before_install:
  - npm install -g --production yarn
  - yarn run clean
install:
  - yarn install
script:
  - yarn run grunt build
  - yarn run grunt tslint
  - yarn run grunt unit_test_nobuild
sudo: false
cache:
  directories:
    - $HOME/.yarn-cache

Revert from apt-get: we can't sudo
Revert from apt-get: we can't sudo
