Commit 0dac936 1 parent 5ee731e commit 0dac936 Copy full SHA for 0dac936
File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -226,8 +226,9 @@ module.exports = function(grunt) {
226
226
} ) ;
227
227
} ) ;
228
228
229
- grunt . registerTask ( 'skip-karma-on-windows' , function ( ) {
230
- console . log ( '*** SKIPPING PHANTOM-JS BASED TESTS ON WINDOWS ***' ) ;
229
+ grunt . registerTask ( 'skip-karma' , function ( ) {
230
+ console . log ( `*** SKIPPING PHANTOM-JS BASED TESTS ON ${ process . platform } ` +
231
+ ` ${ process . arch } ***` ) ;
231
232
} ) ;
232
233
233
234
grunt . registerTask ( 'e2e' , [ 'e2e-server' , 'karma:e2e' ] ) ;
@@ -238,8 +239,9 @@ module.exports = function(grunt) {
238
239
grunt . registerTask ( 'test' , [
239
240
'eslint' ,
240
241
process . env . JENKINS_HOME ? 'mochaTest:unit-xml' : 'mochaTest:unit' ,
241
- process . env . JENKINS_HOME && / ^ w i n / . test ( process . platform ) ?
242
- 'skip-karma-on-windows' : 'karma:unit-once' ,
242
+ process . env . JENKINS_HOME && ( / ^ w i n / . test ( process . platform ) ||
243
+ / ^ s 3 9 0 x / . test ( process . arch ) || / ^ p p c 6 4 / . test ( process . arch ) ) ?
244
+ 'skip-karma' : 'karma:unit-once' ,
243
245
] ) ;
244
246
245
247
// alias for sl-ci-run and `npm test`
You can’t perform that action at this time.
0 commit comments