machine: node: version: 6.9.1 environment: # Fix issue with selenium-server in containers. # See http://github.com/SeleniumHQ/docker-selenium/issues/87 DBUS_SESSION_BUS_ADDRESS: /dev/null dependencies: override: - npm update cache_directories: - testapp/node_modules post: # Install the latest Chrome - curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb - sudo dpkg -i google-chrome.deb - sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome - rm google-chrome.deb - npm run webdriver: background: true - cd testapp && npm update - npm run testapp: background: true test: override: - ./node_modules/.bin/gulp lint - npm test - npm run test:e2e