language: node_js
sudo: false
node_js:
- '4'
script:
- npm run lint
- npm run test:typings
- npm run test
before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH
cache:
  yarn: true
  directories:
    - node_modules

language: node_js
sudo: false
os:
  - linux
  - windows
node_js:
  - '4'
  - '5'
  - '6'
  - 'stable'
script:
  - npm run lint
  - npm run test:typings
  - npm run test
before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH
cache:
  yarn: true
  directories:
    - node_modules

Test component in more environments
Test component in more environments

Both in different OS's and in different versions of Node.
