title: Could not parse .travis.yml
body: <p>I'm trying to create CI pipeline with GitHub, Travis CI and AWS ECS. When I'm push commit to master branch, I'm getting error in travis CI: 'Could not parse .travis.yml'. I can't figure out, where is the problem. Travis dosen't provide more information about error. </p>
  
  <p>There is a code, which I'm using:</p>
  
  <h1>.travis.yml</h1>
  
  <pre><code>language: csharp
  dist: trusty
  sudo: required
  mono: none
  dotnet: 2.0.0
  branches:
      only:
          - master
  before_script:
      - chmod -R a+x scripts
  script:
      - ./scripts/dotnet-build.sh
      - ./scripts/dotnet-publish.sh
      - ./scripts/docker-publish-travis.sh
  </code></pre>
  
  <h1>dotnet-build.sh</h1>
  
  <pre><code> dotnet restore 
   dotnet build
  </code></pre>
  
  <h1>dotnet-publish.sh</h1>
  
  <pre><code>dotnet publish ./BookMeMobi2 -c Release -o ./bin/Docker
  </code></pre>
  
  <h1>dotnet-publish-travis.sh</h1>
  
  <pre><code>pip install --user awscli
  eval $(aws ecr get-login --no-include-email --region eu-central-1)
  docker build -t bookmemobi2 .
  docker ps
  docker tag bookmemobi2:latest 601510060817.dkr.ecr.eu-central-1.amazonaws.com/bookmemobi2:latest
  docker push 601510060817.dkr.ecr.eu-central-1.amazonaws.com/bookmemobi2:latest
  </code></pre>
  
  <p>I don't know where is the problem. Could you help me? </p>