sudo: required
dist: trusty

before_install:
  - sudo sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
  - sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
  - sudo apt-get update
  - sudo apt-get install -y dotnet-nightly

script:
  - dotnet restore
  - dotnet build tests/SideBySide.New
  - cd tests/MySqlConnector.Tests
  - dotnet restore
  - dotnet build
  - dotnet test

sudo: required
dist: trusty

before_install:
  - sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
  - sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
  - sudo apt-get update
  - sudo apt-get install -y dotnet-dev-1.0.0-preview2-003121

script:
  - dotnet restore
  - dotnet build tests/SideBySide.New --configuration Release
  - dotnet test tests/MySqlConnector.Tests --configuration Release

Update CI build for .NET Core 1.0.
Update CI build for .NET Core 1.0.
