travis script update

This commit is contained in:
Denys Vuika 2017-10-19 12:03:59 +01:00
parent 784527ef47
commit e90ab3243c

View File

@ -9,11 +9,15 @@ cache:
directories:
- ./node_modules
before_install:
- export CHROME_BIN=chromium-browser
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- npm install
script:
# Use Chromium instead of Chrome.
- export CHROME_BIN=chromium-browser
- xvfb-run -a npm run test -- --single-run --no-progress --browser=ChromeNoSandbox
#- xvfb-run -a npm run e2e -- --no-progress --config=protractor-ci.conf.js