From d76911a702f0c3f13e63ed1ad24f1d6531199832 Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Wed, 18 May 2016 17:58:09 -0700 Subject: [PATCH] Skipped Generators tests in travis. --- .travis.yml | 3 ++- .../CSharp/CSharp.Tests/Utilities/ServiceController.cs | 2 +- gulpfile.js | 8 ++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3eaf4ac380f4c..a33f6edc73114 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ language: csharp sudo: required dist: trusty -addons: +mono: + - betaaddons: apt: sources: - deadsnakes diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Utilities/ServiceController.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Utilities/ServiceController.cs index 3fef567af5101..420c1b30bd18d 100644 --- a/AutoRest/Generators/CSharp/CSharp.Tests/Utilities/ServiceController.cs +++ b/AutoRest/Generators/CSharp/CSharp.Tests/Utilities/ServiceController.cs @@ -58,7 +58,7 @@ private static string AcceptanceTestsPath public Action TearDown { get; set; } /// - /// Port number the service is listenig on. + /// Port number the service is listening on. /// public int Port { get; set; } diff --git a/gulpfile.js b/gulpfile.js index 865d707194f05..611be760a2621 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -555,12 +555,16 @@ var xunitTestsDlls = [ ]; var xunitNetCoreXproj = [ - 'AutoRest/Generators/CSharp/Azure.CSharp.Tests/project.json', - 'AutoRest/Generators/CSharp/CSharp.Tests/project.json', 'ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/project.json', 'ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json' ]; +// Fix the test execution bug on travis +if(isWindows) { + xunitNetCoreXproj.push('AutoRest/Generators/CSharp/Azure.CSharp.Tests/project.json'); + xunitNetCoreXproj.push('AutoRest/Generators/CSharp/CSharp.Tests/project.json'); +} + var defaultShellOptions = { verbosity: 3, env: {