How can I use gcc7 / llvm7 on my project

That’s for linking to other libraries. To use the compiler as an executable, add it to PATH.

You can also request debug mode for your repo by sending an e-mail to support@travis-ci.com and/or debug that Python code to find out what the erroneous values are and where they come from.

Also maybe related: