mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Travis CI should also run tests on chrome
This commit is contained in:
parent
962b99e8d3
commit
679ac764b1
@ -4,6 +4,7 @@ node_js:
|
|||||||
- "0.10"
|
- "0.10"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
- "export CHROME_BIN=chromium-browser"
|
||||||
- "export DISPLAY=:99.0"
|
- "export DISPLAY=:99.0"
|
||||||
- "sh -e /etc/init.d/xvfb start"
|
- "sh -e /etc/init.d/xvfb start"
|
||||||
|
|
||||||
|
@ -1,7 +1,19 @@
|
|||||||
module.exports = function(config) {
|
module.exports = function(config) {
|
||||||
config.set({
|
var configuration = {
|
||||||
browsers: ['Firefox'],
|
browsers: ['Firefox'],
|
||||||
|
customLaunchers: {
|
||||||
|
Chrome_travis_ci: {
|
||||||
|
base: 'Chrome',
|
||||||
|
flags: ['--no-sandbox']
|
||||||
|
}
|
||||||
|
},
|
||||||
frameworks: ['jasmine'],
|
frameworks: ['jasmine'],
|
||||||
reporters: ['progress', 'html'],
|
reporters: ['progress', 'html'],
|
||||||
});
|
};
|
||||||
|
|
||||||
|
if (process.env.TRAVIS) {
|
||||||
|
configuration.browsers.push('Chrome_travis_ci');
|
||||||
|
}
|
||||||
|
|
||||||
|
config.set(configuration);
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user