.NET Core 3.0.100 builds are failing - Not possible to find compatible framework version

Repository: https://github.com/jboliveira/PoC.SharpDiff/
Travis config file: https://github.com/jboliveira/PoC.SharpDiff/blob/master/.travis.yml
TravisCI Build: https://travis-ci.com/jboliveira/PoC.SharpDiff/builds/133526517

Problem

Project is compiling, tests are all passing, working properly via GitHub Actions, but isn’t via TravisCI, I tried to use different dist sush as xenial and trusty, also install .NET Core 3 via addons/snaps, but no success.

Tech Stack

  • .NET Core 3.0.100
  • xUnit
  • SonarCloud
  • Codacy

.travis.yml

sudo: required
dist: bionic
solution: PoC.SharpDiff.sln
jdk: openjdk10
language: csharp
dotnet: 3.0
mono: none

global:
  - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
  - DOTNET_CLI_TELEMETRY_OPTOUT=0
  - ASPNETCORE_ENVIRONMENT=Production
  - ASPNETCORE_DETAILEDERRORS=0

addons:
  sonarcloud:
    organization: jboliveira-github

install:
  - bash ./tools/travis-install-dependencies.sh
  
script:
  - git fetch --unshallow || true
  - bash ./tools/travis-build.sh

Error

Possible duplicate of

Still failing.

Set dotnet version to 3.0.100 and added a extra step to install dotnet-sdk-2.0.0.

sudo: required
solution: PoC.SharpDiff.sln
language: csharp
dotnet: 3.0.100
mono: none
jdk: openjdk10

addons:
  sonarcloud:
    organization: jboliveira-github

install:
  - sudo apt-get install -qq dotnet-sdk-2.0.0
  - bash ./tools/travis-install-dependencies.sh

script:
  - git fetch --unshallow || true
  - bash ./tools/travis-build.sh

Working as expected.