fix karma.conf
This commit is contained in:
parent
ad39c5d117
commit
ee2518544c
|
@ -5,6 +5,7 @@ node_js:
|
||||||
sudo: false
|
sudo: false
|
||||||
addons:
|
addons:
|
||||||
firefox: "latest"
|
firefox: "latest"
|
||||||
|
chrome: stable
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
|
@ -12,6 +13,8 @@ addons:
|
||||||
- build-essential
|
- build-essential
|
||||||
env:
|
env:
|
||||||
- CXX=g++
|
- CXX=g++
|
||||||
|
services:
|
||||||
|
- xvfb
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
on_success: never
|
on_success: never
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
process.env.CHROME_BIN = "chromium-browser";
|
|
||||||
|
|
||||||
module.exports = function(config) {
|
module.exports = function(config) {
|
||||||
config.set({
|
config.set({
|
||||||
|
|
||||||
|
@ -55,14 +53,7 @@ module.exports = function(config) {
|
||||||
|
|
||||||
// start these browsers
|
// start these browsers
|
||||||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
||||||
browsers: ["Chromium", "Firefox"],
|
browsers: ["Chrome", "Firefox"],
|
||||||
customLaunchers: {
|
|
||||||
Chromium: {
|
|
||||||
base: "Chrome",
|
|
||||||
flags: ["--no-sandbox"],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
// Continuous Integration mode
|
// Continuous Integration mode
|
||||||
// if true, Karma captures browsers, runs the tests and exits
|
// if true, Karma captures browsers, runs the tests and exits
|
||||||
|
|
Loading…
Reference in New Issue
Block a user