diff --git a/.travis.yml b/.travis.yml index 2e21abd95..d16cb2118 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,8 +29,8 @@ before_script: # ESLint only supports Node >=4 - if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run lint; fi - if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run lint-markdown; fi - - if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run test-headless; fi - - if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run test-webworker; fi + - if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run test-headless -- --allow-chrome-as-root; fi + - if [ "x$TRAVIS_NODE_VERSION" = "x8" ]; then npm run test-webworker -- --allow-chrome-as-root; fi - if [ "x$TRAVIS_NODE_VERSION" = "x8" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm run test-cloud; fi script: