update travis to replace deprecated distro

This commit is contained in:
Yeiniel Suárez Sosa 2020-11-28 14:14:56 -05:00 committed by Yeiniel Suarez Sosa
parent 0a11e24c9c
commit a027ae6306
No known key found for this signature in database
GPG Key ID: E2CFACE611B42B6C
2 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
language: node_js language: node_js
node_js: node_js:
- "12" - "12"
dist: trusty dist: bionic
addons: addons:
- chrome: stable - chrome: stable
install: "npm install" # install: "npm install"
script: "sh -e run_tests.sh" script: "sh -e run_tests.sh"
notifications: notifications:
email: false email: false

View File

@ -29,7 +29,7 @@ module.exports = function (config) {
customLaunchers: { customLaunchers: {
ChromeHeadlessNoSandbox: { ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless', base: 'ChromeHeadless',
flags: ['--no-sandbox', '--disable-setuid-sandbox'] flags: ['--no-sandbox']
} }
}, },