# See http://docs.travis-ci.com/user/languages/csharp/ for details

language: csharp
install:
  - nuget restore src/NodaTime-All.sln
  - nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
  
# TODO: Run the other unit tests too
# The framework profile and version is required as currently we target .NET 3.5,
# which Mono doesn't support as a profile.

# We temporarily only build the debug version, as XML comments in C# 6 source
# code appear to be broken in the Mono nightly build at the moment.
script:
  - xbuild /p:Configuration=Debug src/NodaTime-All.sln /p:TargetFrameworkProfile='' /p:TargetFrameworkVersion='v4.5'
  - mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe src/NodaTime.Test/bin/Debug/NodaTime.Test.dll -exclude=Roslyn

mono:
  - nightly

# See http://docs.travis-ci.com/user/languages/csharp/ for details

language: csharp
install:
  - nuget restore src/NodaTime-All.sln
  - nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
  
# TODO: Run the other unit tests too
# The framework profile and version is required as currently we target .NET 3.5,
# which Mono doesn't support as a profile.

# We temporarily only build the debug version, as XML comments in C# 6 source
# code appear to be broken in the Mono nightly build at the moment.
script:
  - xbuild /p:Configuration=Debug src/NodaTime-All.sln /p:TargetFrameworkProfile='' /p:TargetFrameworkVersion='v4.5'
  - mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe src/NodaTime.Test/bin/Debug/NodaTime.Test.dll -exclude=Roslyn

mono:
  - latest

Change mono to latest in Travis build
Change mono to latest in Travis build
