Cannot install the complete VS2019 build tools through chocolatey

I am trying to set up a job compiling with VS2019.
For that I am using chocolatey to install VS2019 build tools using the example install command shown on the package’s info page: https://chocolatey.org/packages/visualstudio2019buildtools

It fails for some reason although no detailed failure is reported. I am totally unfamiliar with chocolatey so I have no idea how to find the log file it is talking about.

https://travis-ci.org/skui-org/3rdparty/jobs/603300240

It says

See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log)

Try putting the following as the last build step and run the job again. Let’s see what is inside that log file.

- cat C:\ProgramData\chocolatey\logs\chocolatey.log

I managed to use VS 2019 using the following commands:

before_install:
    - choco install visualstudio2019buildtools --package-parameters "--includeRecommended --includeOptional"
    - choco install visualstudio2019-workload-vctools

I hope it helps.