<commit_before>#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0

var target = Argument("target", "default");
var configuration = Argument("configuration", "Release");
var output = Argument("output", "./artifacts");

Information("Target: " + target);
Information("Configuration: " + configuration + ", tests always run under Debug");

Task("clean")
    .Does(() => {
        CleanDirectories("./**/bin/" + configuration);
        CleanDirectories("./**/obj/" + configuration);
        CleanDirectory("./artifacts");
    });    

Task("restore")
    .IsDependentOn("clean")
    .Does(() => {
        DotNetCoreRestore("src/Shorthand.UrlMetaExtractor/project.json");
    });

Task("build")
    .IsDependentOn("restore")
    .Does(() => {
        var buildSettings = new DotNetCoreBuildSettings {
            Configuration = configuration
        };

        DotNetCoreBuild("src/Shorthand.UrlMetaExtractor/project.json", buildSettings);
    });

Task("test")
    .IsDependentOn("restore")
    .Does(() => {
        var settings = new DotNetCoreTestSettings {
			WorkingDirectory = "./tests/Shorthand.UrlMetaExtractorTests/"
		};
        DotNetCoreRestore("./tests/Shorthand.UrlMetaExtractorTests/project.json");                
        DotNetCoreTest("./project.json", settings);
    });

Task("pack")    
    .IsDependentOn("build")
    .Does(() => {
        var packSettings = new DotNetCorePackSettings {
            Configuration = configuration,
            OutputDirectory = output
        };

        DotNetCorePack("src/Shorthand.UrlMetaExtractor/project.json", packSettings);
    });

Task("default")
    .IsDependentOn("test");

RunTarget(target);
<commit_msg>Disabled 451 tests on travis<commit_after>#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0

var target = Argument("target", "default");
var configuration = Argument("configuration", "Release");
var output = Argument("output", "./artifacts");

Information("Target: " + target);
Information("Configuration: " + configuration + ", tests always run under Debug");

Task("clean")
    .Does(() => {
        CleanDirectories("./**/bin/" + configuration);
        CleanDirectories("./**/obj/" + configuration);
        CleanDirectory("./artifacts");
    });    

Task("restore")
    .IsDependentOn("clean")
    .Does(() => {
        DotNetCoreRestore("src/Shorthand.UrlMetaExtractor/project.json");
        DotNetCoreRestore("./tests/Shorthand.UrlMetaExtractorTests/project.json");
    });

Task("build")
    .IsDependentOn("restore")
    .Does(() => {
        var buildSettings = new DotNetCoreBuildSettings {
            Configuration = configuration
        };

        DotNetCoreBuild("src/Shorthand.UrlMetaExtractor/project.json", buildSettings);
    });

Task("test")
    .IsDependentOn("restore")
    .Does(() => {
        var settings = new DotNetCoreTestSettings {
            WorkingDirectory = "./tests/Shorthand.UrlMetaExtractorTests/",
        };
        
        if(TravisCI.IsRunningOnTravisCI)
            settings.Framework = "netstandard1.3";
        
        DotNetCoreTest("./project.json", settings);
    });

Task("pack")    
    .IsDependentOn("build")
    .Does(() => {
        var packSettings = new DotNetCorePackSettings {
            Configuration = configuration,
            OutputDirectory = output
        };

        DotNetCorePack("src/Shorthand.UrlMetaExtractor/project.json", packSettings);
    });

Task("default")
    .IsDependentOn("test");

RunTarget(target);

{'fraction_non_alphanumeric': 0.15615096513972918, 'fraction_numerical': 0.0031691155286660906, 'mean_word_length': 3.0608187134502924, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '6359618', 'n_tokens_mistral': 1007, 'n_tokens_neox': 981, 'n_words': 153}