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

language: csharp
mono: none
dotnet: 2.1.4
dist: trusty

# We need to install the .NET Core 1.0 runtime to run netcoreapp1.0
# tests.
addons:
  apt:
    sources:
    - sourceline: 'deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main'
      key_url: 'https://packages.microsoft.com/keys/microsoft.asc'
    packages:
    - dotnet-sharedframework-microsoft.netcore.app-1.0.5

script:
  - dotnet restore src/NodaTime.Serialization.JsonNet
  - dotnet restore src/NodaTime.Serialization.Test
  - dotnet build src/NodaTime.Serialization.Test -f netcoreapp1.0
  - dotnet run -p src/NodaTime.Serialization.Test -f netcoreapp1.0

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

language: csharp
mono: none
dotnet: 2.1.300
dist: trusty

# We need to install the .NET Core 1.0 runtime to run netcoreapp1.0
# tests.
addons:
  apt:
    sources:
    - sourceline: 'deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main'
      key_url: 'https://packages.microsoft.com/keys/microsoft.asc'
    packages:
    - dotnet-sharedframework-microsoft.netcore.app-1.0.5

script:
  - dotnet build src/NodaTime.Serialization.Test -f netcoreapp1.0
  - dotnet run -p src/NodaTime.Serialization.Test -f netcoreapp1.0

Update Travis with later SDK version
Update Travis with later SDK version
