language: node_js
node_js:
    - "6.9"
    - "6.10"
    - "7.6"
before_install:
    - "export CHROME_BIN=chromium-browser"
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"
before_script:
    # Excludes gecko, see: https://github.com/angular/webdriver-manager/issues/216#issuecomment-293650564
    - "npm run webdriverUpdate -- --gecko false"

language: node_js
node_js:
    - "6.9"
    - "6.10"
    - "7.6"
before_install:
    - "export CHROME_BIN=/usr/bin/google-chrome"
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"
    - "sudo apt-get install -y libappindicator1 fonts-liberation"
    - "wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
    - "sudo dpkg -i google-chrome*.deb"
before_script:
    # Excludes gecko, see: https://github.com/angular/webdriver-manager/issues/216#issuecomment-293650564
    - "npm run webdriverUpdate -- --gecko false"

Install Chrome during CI run
Install Chrome during CI run
