Travis: failed build reported as successful

Zero King l2dy at macports.org
Sat Jul 1 02:33:18 UTC 2017


On Fri, Jun 30, 2017 at 10:51:54PM +0200, Mojca Miklavec wrote:
>Dear Zero King,
>
>Why is this build reported as successful?
>
>https://travis-ci.org/macports/macports-ports/jobs/248896726

1. Lint error was ignored. I didn't fix it because "file delete -force"
errors aren't fixed.

2. `portindex` failed to parse the Portfile but didn't return an error.
How can I throw an error when `portindex` failed or printed "Failed to
parse file" while keeping the output in Travis logs (in Bash)?

>Failed to parse file lang/llvm-4.0/Portfile: wrong # args: should be "sha256 action ?file?"


>Also: can it be that we're experiencing troubles due to an unusual
>$HOME variable?

Does Travis environment have an unusual $HOME?

-- 
Best regards,
Zero King

Don't trust the From address.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3612 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20170701/7e41cd92/attachment.bin>


More information about the macports-dev mailing list