language: csharp
mono:
  - latest
solution: QuantConnect.Lean.sln
install:
  - nuget restore QuantConnect.Lean.sln
  - nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
  - xbuild /p:Configuration=Release /p:VbcToolExe=vbnc.exe QuantConnect.Lean.sln
  - mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./Tests/bin/Release/QuantConnect.Tests.dll --exclude:TravisExclude
after_success:
  - coveralls
language: csharp
mono:
  - 5.2.0
solution: QuantConnect.Lean.sln
install:
  - nuget restore QuantConnect.Lean.sln
  - nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
  - xbuild /p:Configuration=Release /p:VbcToolExe=vbnc.exe QuantConnect.Lean.sln
  - mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./Tests/bin/Release/QuantConnect.Tests.dll --exclude:TravisExclude
after_success:
  - coveralls
Set mono version equal to docker mono version
Set mono version equal to docker mono version

We should always be running our tests against the same version of mono
that we use in production. This was noticed only after travis C# upgraded
to mono 5.4 which apparently has a regression.

Forces mono version to 4.6.1
