mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 22:54:31 +00:00
Use Chromium-browser for rendering front-end tests
This commit is contained in:
parent
8d0fa7a5d5
commit
7a5c4f0084
@ -5,6 +5,11 @@ git:
|
||||
|
||||
language: node_js
|
||||
|
||||
before_install:
|
||||
- export CHROME_BIN=chromium-browser
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
|
||||
install:
|
||||
- cd packages/strapi-mongoose
|
||||
- npm link
|
||||
|
||||
@ -7,7 +7,7 @@ module.exports = (config) => {
|
||||
frameworks: ['mocha'],
|
||||
reporters: ['coverage', 'mocha'],
|
||||
browsers: process.env.TRAVIS // eslint-disable-line no-nested-ternary
|
||||
? ['ChromeTravis']
|
||||
? ['Chrome_travis_ci']
|
||||
: process.env.APPVEYOR
|
||||
? ['IE'] : ['Chrome'],
|
||||
|
||||
@ -42,7 +42,7 @@ module.exports = (config) => {
|
||||
},
|
||||
|
||||
customLaunchers: {
|
||||
ChromeTravis: {
|
||||
Chrome_travis_ci: {
|
||||
base: 'Chrome',
|
||||
flags: ['--no-sandbox'],
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user