language: node_js
node_js:
    - "6.9"
    - "6.10"
    - "7.6"
before_install:
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"
    - "npm run webdriverUpdate"

language: node_js
node_js:
    - "6.9"
    - "6.10"
    - "7.6"
before_install:
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"
before_script:
    - "npm run webdriverUpdate"

Move WebDriver update to before_script
Move WebDriver update to before_script
