7 Commits

Author SHA1 Message Date
Greg Spencer
2218513712
Clean up the CI scripts and make it so that they can be run from anywhere (#20538)
This cleans up the ci scripts so that they can be run from an arbitrary directory, and so that they don't have any bash lint issues, and are more explicit about which dart/pub/dartanalyzer executable they run.

I also fixed the format script to take a "--fix" argument that will fix all of the formatting issues found, including trailing whitespace and gn files.

I added a warning to the license script about untracked/ignored files in the fluttter repo because those so often trip up the license script.

I added missing license information to the ci scripts too.

There's now a bit of boilerplate at the beginning of each script (the follow_links function) in order to reliably find the actual location of the script: I'd put it into a common file, except that that code would be needed to reliably find the common location too, so I needed to duplicate it. It's the same boilerplate as what is used in the flutter/flutter repo for the flutter and dart scripts.

I deleted the ci/test.sh script, since it seems to be obsolete (the test it tries to run doesn't exist anywhere).
2020-08-17 14:03:01 -07:00
Jason Simmons
b48566470c
Upgrade the analyzer package to version 0.39.15 for Dart 2.10 support (#20024) 2020-07-24 18:26:43 -07:00
Jason Simmons
d43e1dd578
Disable the web SDK API conformance test until the analyzer is updated for Dart 2.10 (#20023) 2020-07-24 17:01:57 -07:00
Dan Field
2b1f9925e4
new lints (#8849)
Dart lints added:
* Avoid optional new
* Avoid optional const
* Prefer single quotes
* Prefer default assignment `=`
2019-05-07 16:10:21 -07:00
Jonah Williams
f4d9949518
check that public API of dart:ui conforms to web implementation (#8256) 2019-03-22 10:23:22 -07:00
Michael Klimushyn
ba9b90766b
Add run_tests.sh to cirrus (#6441)
This replaces `ci/test.sh` with `run_tests.sh`. `run_tests.sh` includes
`ci/test.sh` and multiple other tests.

Partially addresses flutter/flutter#22682. Temporarily skipped tests
should be fixed and re-enabled in a follow-up commit.
2018-10-05 11:56:13 -07:00
liyuqian
5f04e00d7a
Remove travis directory (#5935)
This reflects that we no longer uses travis. Scripts are moved to ci folder.
2018-08-06 15:06:49 -07:00