ab2b0851a2
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework. The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead. The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null. |
||
---|---|---|
.. | ||
docker_linux | ||
mac | ||
README.md |
This directory includes scripts and tools for setting up Flutter's continuous integration environments.
Cirrus Linux
Flutter's Linux tasks run on a custom Docker image. The Dockerfile
for this
image can be found at /dev/ci/docker_linux/Dockerfile.
On each new change to this Dockerfile
, Cirrus will build a new version of
the Docker image as a dependency to any Linux tests. It is no longer necessary
to manually build and push the Docker image locally.
NOTE: there are some factors external to the actual Dockerfile
that would
necessitate rebuilding the Docker image, such as upstream code changes, (Linux
distribution) repository updates or a file that gets COPY
ied into the image
changing. In this case, a trivial Dockerfile
change (such as a comment)
would invalidate the cache and trigger a rebuild.