X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=Gruntfile.js;h=69a123cc9f443765702ab84676623a7b9b8ab6fa;hp=dbbfcb814eb5dda249d3d667a806a5e74611e298;hb=a7064a0883ec6d715c8c8103efe777769a85437d;hpb=d6551bcbad8e2c0c94af630212433150ac7ff841 diff --git a/Gruntfile.js b/Gruntfile.js index dbbfcb814e..69a123cc9f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -4,7 +4,6 @@ module.exports = function ( grunt ) { var wgServer = process.env.MW_SERVER, wgScriptPath = process.env.MW_SCRIPT_PATH, - WebdriverIOconfigFile, karmaProxy = {}; grunt.loadNpmTasks( 'grunt-banana-checker' ); @@ -21,12 +20,6 @@ module.exports = function ( grunt ) { changeOrigin: true }; - if ( process.env.JENKINS_HOME ) { - WebdriverIOconfigFile = './tests/selenium/wdio.conf.jenkins.js'; - } else { - WebdriverIOconfigFile = './tests/selenium/wdio.conf.js'; - } - grunt.initConfig( { eslint: { all: [ @@ -62,9 +55,6 @@ module.exports = function ( grunt ) { installer: 'includes/installer/i18n/' }, stylelint: { - options: { - syntax: 'less' - }, src: '{resources/src,mw-config}/**/*.{css,less}' }, watch: { @@ -101,8 +91,8 @@ module.exports = function ( grunt ) { chromium: { browsers: [ 'Chromium' ] }, - more: { - browsers: [ 'Chrome', 'Firefox' ] + firefox: { + browsers: [ 'Firefox' ] } }, copy: { @@ -119,7 +109,7 @@ module.exports = function ( grunt ) { // Configure WebdriverIO task webdriver: { test: { - configFile: WebdriverIOconfigFile + configFile: './tests/selenium/wdio.conf.js' } }