module.exports = function(grunt) {

    // Project configuration.
    grunt.initConfig({
        
        // Configuration to be run (and then tested).
        datadriver: {
            options: {
                updateSauceJob: true,
                user: process.env.SAUCE_USERNAME,
                key: process.env.SAUCE_ACCESS_KEY,
                logLevel: 'verbose'
            },
            chrome_ci: {
                tests: './test/*.js',
                options: {
                    host: 'ondemand.saucelabs.com',
                    port: 80,
                    desiredCapabilities: {
                        browserName: 'chrome',
                        platform: 'Windows 8',
                        version: '31',
                        tags: ['chrome','Windows 8','31'],
                        name: 'grunt-webdriver test',
                        build: process.env.TRAVIS_BUILD_NUMBER || '008'
                    }
                }
            },
            chrome_ciTunnel: {
                tests: './test/*.js',
                options: {
                    port: 4445,
                    desiredCapabilities: {
                        browserName: 'chrome',
                        platform: 'Windows 8',
                        version: '31',
                        tags: ['chrome','Windows 8','31','sauce connect'],
                        'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
                        name: 'grunt-webdriver test',
                        build: process.env.TRAVIS_BUILD_NUMBER
                    }
                }
            },
            local: {
                tests: './test/*.js',
                options: {
                    desiredCapabilities: { 
                        browserName: 'phantomjs'
                    }
                }
            }
        },

    });

    // Actually load this plugin's task(s).
    grunt.loadTasks('tasks');

    // By default, lint and run all tests.
    grunt.registerTask('default', ['jshint', 'datadriver']);
    // default task for testing
    grunt.registerTask('test', ['datadriver:local']);

};

module.exports = function(grunt) {

	// Project configuration.
	grunt.initConfig({

		// Configuration to be run (and then tested).
		datadriver: {
			options: {
				updateSauceJob: true,
				user: process.env.SAUCE_USERNAME,
				key: process.env.SAUCE_ACCESS_KEY,
				logLevel: 'verbose'
			},
			chrome_ci: {
				tests: './test/*.js',
				options: {
					host: 'ondemand.saucelabs.com',
					port: 80,
					desiredCapabilities: {
						browserName: 'chrome',
						platform: 'Windows 8',
						version: '31',
						tags: ['chrome', 'Windows 8', '31'],
						name: 'grunt-webdriver test',
						build: process.env.TRAVIS_BUILD_NUMBER || '008'
					}
				}
			},
			chrome_ciTunnel: {
				tests: './test/*.js',
				options: {
					port: 4445,
					desiredCapabilities: {
						browserName: 'chrome',
						platform: 'Windows 8',
						version: '31',
						tags: ['chrome', 'Windows 8', '31', 'sauce connect'],
						'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
						name: 'grunt-webdriver test',
						build: process.env.TRAVIS_BUILD_NUMBER
					}
				}
			},
			local: {
				tests: './test/*.js',
				options: {
					desiredCapabilities: {
						browserName: 'phantomjs'
					}
				}
			}
		}

	});

	// Actually load this plugin's task(s).
	grunt.loadTasks('tasks');

	// By default, lint and run all tests.
	grunt.registerTask('default', ['jshint', 'datadriver']);
	// default task for testing
	grunt.registerTask('test', ['datadriver:local']);

};

Update grunt file.