add: ppc64 and s390x to not run UI tests

This commit is contained in:
Thomas Leah 2018-08-08 11:45:58 +01:00 committed by Taranveer Virk
parent 5ee731eafd
commit 0dac936bba
1 changed files with 6 additions and 4 deletions

View File

@ -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`