<commit_before>var gulp        = require('gulp');
var jshint      = require('gulp-jshint');
var mocha 			= require('gulp-mocha');
var istanbul 		= require('gulp-istanbul');
var gutil       = require('gulp-util');
var del         = require('del');
var browserSync = require('browser-sync').create();
var nodemon 		= require('gulp-nodemon');
var sourcemaps  = require('gulp-sourcemaps');
var through     = require('through2');
var arguments 	= require('yargs').argv;
var exit 				= require('gulp-exit');
var isprod = (arguments.env === 'prod');

var noop = function() {
	return through.obj();
};

var dev = function(task) {
	return isprod ? noop() : task;
};

var prod = function(task) {
	return isprod ? task : noop();
};

// ***************************************************
// *                   FILE PATHS                    *
// ***************************************************

var filePaths = ['src/**/*.js', './app.js'];
var testHintJs = ['src/**/*.js', './app.js'];
var testPaths;
if(process.env.CI) {
  testPaths = [
    'test-server-unit/util.spec.js',
    //'test-server-integration/**/*.spec.js',
    'test-server-unit/3dparty-passport.spec.js',
    'test-server-unit/auth-experimental-collapse-db.spec.js',
    'test-server-unit/auth-util.spec.js',
    'test-server-unit/passport.spec.js',
    'test-server-unit/users.spec.js'
  ];
} else {
  testPaths = [
    'test-server-unit/util.spec.js',
    'test-server-integration/**/*.spec.js',
    'test-server-unit/3dparty-passport.spec.js',
    'test-server-unit/auth-experimental-collapse-db.spec.js',
    'test-server-unit/auth-util.spec.js',
    'test-server-unit/passport.spec.js',
    'test-server-unit/users.spec.js'
  ];
}

var sourcemapPaths = ['src/**/*.js'];

// ***************************************************
// *                     JSHINT                      *
// ***************************************************

gulp.task('hint', function hintInternal() {<commit_msg>another experiment to fix gulp test on travis<commit_after>var gulp        = require('gulp');
var jshint      = require('gulp-jshint');
var mocha 			= require('gulp-mocha');
var istanbul 		= require('gulp-istanbul');
var gutil       = require('gulp-util');
var del         = require('del');
var browserSync = require('browser-sync').create();
var nodemon 		= require('gulp-nodemon');
var sourcemaps  = require('gulp-sourcemaps');
var through     = require('through2');
var arguments 	= require('yargs').argv;
var exit 				= require('gulp-exit');
var isprod = (arguments.env === 'prod');

var noop = function() {
	return through.obj();
};

var dev = function(task) {
	return isprod ? noop() : task;
};

var prod = function(task) {
	return isprod ? task : noop();
};

// ***************************************************
// *                   FILE PATHS                    *
// ***************************************************

var filePaths = ['src/**/*.js', './app.js'];
var testHintJs = ['src/**/*.js', './app.js'];
var testPaths;
if(process.env.CI) {
  testPaths = [
    'test-server-unit/util.spec.js',
    'test-server-integration/**/*.spec.js',
    'test-server-unit/3dparty-passport.spec.js',
    'test-server-unit/auth-experimental-collapse-db.spec.js',
    'test-server-unit/auth-util.spec.js',
    'test-server-unit/passport.spec.js',
    'test-server-unit/users.spec.js'
  ];
} else {
  testPaths = [
    'test-server-unit/util.spec.js',
    'test-server-integration/**/*.spec.js',
    'test-server-unit/3dparty-passport.spec.js',
    'test-server-unit/auth-experimental-collapse-db.spec.js',
    'test-server-unit/auth-util.spec.js',
    'test-server-unit/passport.spec.js',
    'test-server-unit/users.spec.js'
  ];
}

var sourcemapPaths = ['src/**/*.js'];

// ***************************************************
// *                     JSHINT                      *
// ***************************************************

gulp.task('hint', function hintInternal() {
{'fraction_non_alphanumeric': 0.2796954314720812, 'fraction_numerical': 0.0015228426395939086, 'mean_word_length': 3.148421052631579, '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': '3334432', 'n_tokens_mistral': 1310, 'n_tokens_neox': 1270, 'n_words': 199}