<commit_before>var gulp = require('gulp');
var webdriver = require('./index');

gulp.task('test:chrome_ci', function() {
    return gulp.src('test/*.js', {
        read: false
    }).pipe(webdriver({
        updateSauceJob: true,
        logLevel: 'verbose',
        user: process.env.SAUCE_USERNAME,
        key: process.env.SAUCE_ACCESS_KEY,
        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
        }
    }));
});

gulp.task('test:chrome_ciTunnel', function() {
    return gulp.src('test/*.js', {
        read: false
    }).pipe(webdriver({
        updateSauceJob: true,
        logLevel: 'verbose',
        user: process.env.SAUCE_USERNAME,
        key: process.env.SAUCE_ACCESS_KEY,
        port: 4445,
        desiredCapabilities: {
            browserName: 'chrome',
            platform: 'Windows 8',
            version: '31',
            tags: ['chrome', 'Windows 8', '31'],
            name: 'grunt-webdriver test',
            'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
            build: process.env.TRAVIS_BUILD_NUMBER
        }
    }));
});

gulp.task('test:local', function() {
    return gulp.src('test/*.js', {
        read: false
    }).pipe(webdriver({
        logLevel: 'verbose',
        desiredCapabilities: {
            browserName: 'phantomjs'
        }
    }));
});<commit_msg>create random tunnel identifier for local dev<commit_after>var gulp = require('gulp');
var webdriver = require('./index');

gulp.task('test:chrome_ci', function() {
    return gulp.src('test/*.js', {
        read: false
    }).pipe(webdriver({
        updateSauceJob: true,
        logLevel: 'verbose',
        user: process.env.SAUCE_USERNAME,
        key: process.env.SAUCE_ACCESS_KEY,
        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
        }
    }));
});

gulp.task('test:chrome_ciTunnel', function() {
    return gulp.src('test/*.js', {
        read: false
    }).pipe(webdriver({
        updateSauceJob: true,
        logLevel: 'verbose',
        user: process.env.SAUCE_USERNAME,
        key: process.env.SAUCE_ACCESS_KEY,
        port: 4445,
        desiredCapabilities: {
            browserName: 'chrome',
            platform: 'Windows 8',
            version: '31',
            tags: ['chrome', 'Windows 8', '31'],
            name: 'grunt-webdriver test',
            'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER || Math.random().toString(),
            build: process.env.TRAVIS_BUILD_NUMBER
        }
    }));
});

gulp.task('test:local', function() {
    return gulp.src('test/*.js', {
        read: false
    }).pipe(webdriver({
        logLevel: 'verbose',
        desiredCapabilities: {
            browserName: 'phantomjs'
        }
    }));
});
{'fraction_non_alphanumeric': 0.14929056138186306, 'fraction_numerical': 0.011104256631708822, 'mean_word_length': 2.0739336492890996, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4384968', 'n_tokens_mistral': 1027, 'n_tokens_neox': 1008, 'n_words': 191}