add: ppc64 and s390x to not run UI tests
This commit is contained in:
parent
5ee731eafd
commit
0dac936bba
10
Gruntfile.js
10
Gruntfile.js
|
@ -226,8 +226,9 @@ module.exports = function(grunt) {
|
|||
});
|
||||
});
|
||||
|
||||
grunt.registerTask('skip-karma-on-windows', function() {
|
||||
console.log('*** SKIPPING PHANTOM-JS BASED TESTS ON WINDOWS ***');
|
||||
grunt.registerTask('skip-karma', function() {
|
||||
console.log(`*** SKIPPING PHANTOM-JS BASED TESTS ON ${process.platform}` +
|
||||
` ${process.arch} ***`);
|
||||
});
|
||||
|
||||
grunt.registerTask('e2e', ['e2e-server', 'karma:e2e']);
|
||||
|
@ -238,8 +239,9 @@ module.exports = function(grunt) {
|
|||
grunt.registerTask('test', [
|
||||
'eslint',
|
||||
process.env.JENKINS_HOME ? 'mochaTest:unit-xml' : 'mochaTest:unit',
|
||||
process.env.JENKINS_HOME && /^win/.test(process.platform) ?
|
||||
'skip-karma-on-windows' : 'karma:unit-once',
|
||||
process.env.JENKINS_HOME && (/^win/.test(process.platform) ||
|
||||
/^s390x/.test(process.arch) || /^ppc64/.test(process.arch)) ?
|
||||
'skip-karma' : 'karma:unit-once',
|
||||
]);
|
||||
|
||||
// alias for sl-ci-run and `npm test`
|
||||
|
|
Loading…
Reference in New Issue