diff --git a/.travis.yml b/.travis.yml index 31f1496..0068c58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,4 +23,4 @@ matrix: - npm install -g @angular-devkit/build-angular - npm install script: - - ng build --prod + - npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI diff --git a/web-ui/karma.conf.js b/web-ui/karma.conf.js index 523fdad..7298e9e 100644 --- a/web-ui/karma.conf.js +++ b/web-ui/karma.conf.js @@ -27,6 +27,12 @@ module.exports = function (config) { logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], + customLaunchers: { + ChromeHeadlessCI: { + base: 'ChromeHeadless', + flags: ['--no-sandbox', '--disable-gpu'] + } + }, singleRun: false }); };