language: csharp
matrix:
  include:
  - os: linux
    dist: trusty
    sudo: required
    env: DOTNETCORE=1
before_install:
  - sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
  - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
  - sudo apt-get update
  - sudo apt-get install dotnet
script:
- bash build.sh
language: csharp
matrix:
  include:
  - os: linux
    dist: trusty
    sudo: required
    env: DOTNETCORE=1
before_install:
  - sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
  - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
  - sudo apt-get update
  - sudo apt-get install dotnet-dev-1.0.0
script:
- bash build.sh
Use the right package from apt
Use the right package from apt

