Travis CI detect wrong language

Hi guys. I have this yml file like this but travis ci detect I’m using ruby

language: csharp
  mono: none
  sudo: required
  dist: xenial
  dotnet: 2.2
  script:
    - dotnet restore src/BackEnd
    - dotnet build src/BackEnd

notifications:
  email:
    - ngohungphuc95@gmail.com

Is there anything wrong with my config ? Much appreciated

Hi ngohungphuc

Try unindenting all of those keys, like

language: csharp
mono: none
sudo: required
dist: xenial
dotnet: 2.2
script:
  - dotnet restore src/BackEnd
  - dotnet build src/BackEnd

notifications:
  email:
    - ngohungphuc95@gmail.com
1 Like

Hi @plaindocs. Thank you it’s should be good now

1 Like