language: node_js
node_js: "stable"

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
      env: BROWSER=firefox
    - os: linux
      dist: trusty
      sudo: required
      env: BROWSER=chrome
    - os: osx
      osx_image: xcode8
      env: BROWSER=firefox
    - os: osx
      osx_image: xcode8
      env: BROWSER=chrome
  exclude:
    - node_js: "stable"


addons:
  apt:
    sources:
    - google-chrome
    packages:
    - google-chrome-stable
  firefox: "46.0"

cache:
  directories:
    - node_modules

before_script:
    - export DISPLAY=:99.0
    - ./script/travis-build.sh

script: node ./node_modules/.bin/chimp --browser ${BROWSER}

notifications:
  email:
    on_success: never
    on_failure: change


language: node_js
node_js: "stable"

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
      env: BROWSER=firefox
    - os: linux
      dist: trusty
      sudo: required
      env: BROWSER=chrome
    - os: osx
      osx_image: xcode8
      env: BROWSER=firefox
    - os: osx
      osx_image: xcode8
      env: BROWSER=chrome
  exclude:
    - node_js: "stable"


addons:
  apt:
    sources:
    - google-chrome
    packages:
    - google-chrome-stable
  firefox: "46.0"

cache:
  directories:
    - node_modules

before_script:
    - export DISPLAY=:99.0
    - ./script/travis-build.sh
    - yarn

script: node ./node_modules/.bin/chimp --browser ${BROWSER}

notifications:
  email:
    on_success: never
    on_failure: change


Add yarn to build step
Add yarn to build step
