CI: ensure that example code is analyzed and tested
chalin opened this issue · comments
Reinstate code checks that were temporarily disabled by #2738:
- Previous working build: https://travis-ci.org/flutter/website/builds/539244102
- First broken build: https://travis-ci.org/flutter/website/builds/539735108 -- not that this build also failed because of a broken link (404.
- First working build: https://travis-ci.org/flutter/website/builds/542865401
Related:
- Code excerpts: use new tooling and infra #2233
The problem is that Travis Ubuntu uses GNU diff 3.x and macOS is still at 2.x (the macOS version is very old).
#3916 updates the README. Maybe you'd like a simple diff
version check added to tool/refresh-code-excerpts.sh before closing this issue?
For the record, I did check diff
behavior differences across OSs when this problem surfaced. I'm not sure why I concluded that the diff
tool wasn't the issue back then. That kinda set me on a wild goose chase :-/. Anyhow, thanks to @dnfield for again suggesting that it might be a diff
tool issue. Taking a second look did the trick -- actually having access to a Linux box helped make the investigation much easier!
Can this be closed?
Depends if you'd like a version check added to the refresh script, for example.
Closing