Commit graph

41 commits

Author SHA1 Message Date
Vyacheslav Egorov 71b2cfb2a0
Turn Dart 2 mode by default. (#15565) 2018-03-16 20:29:38 +01:00
Vyacheslav Egorov d693d427d8
Upgrade packages to pull in newest petitparser with Dart 2 fixes. (#15558)
* Upgrade packages to pull in newest petitparser with Dart 2 fixes.

* Don't allow Dart 2 failures.

* Address new lints discovered by updated analyzer.
2018-03-15 11:11:13 +01:00
Siva 8c75dcf1bd
Engineroll (#15547)
* iupdate engine version to 141176b9004d7b01325629fd45b2ef61b0d00251

* update engine version to f192c59d76c0afe63f2290c3ed76061f00c77cc7
This rolls dart to version 0175f24b2549732d0010708988fd328440c3f956

* Move dart 2 tests back to optional section to allow debugging of a new
regression in the petitParser package.

* Update
2018-03-15 00:18:34 -07:00
Alexander Aprelev 7b8c79634d
Move dart2 tests from 'allowed to fail' to 'required to pass' (#15491) 2018-03-13 19:31:31 -07:00
Alexander Aprelev d3797628ca
Run flutter tests in preview-dart-2 mode on travis flutter builds. (#14728)
* Run flutter tests in preview-dart-2 mode on travis flutter builds.

* Run dart2 tests on osx. Run dart tests in dart2.

* Fix name camelCase

* Default options to empty array, rather than null

* Troubleshoot failures

* More logging

* Troubleshoot: run single test

* Troubleshoot: run 15 tests

* Troubleshoot: run 15 tests with fix

* Try limit concurrency to 1

* Limit concurrency for preview-dart-2 tests to 4

* Move dart2 tests to allow_failures section

* Reinstate tests_dart_2 shard

* Raise concurrency to 8

* Reuse compiler across multiple test runs

* Allow to switch entry points when recompiling.

Actually use single compiler to incrementally recompile all tests executed by 'flutter test'.

* Remove leftover commented code

* Fix comment

* Lints
2018-03-01 09:04:26 -08:00
xster d3418a5da4
Productionize the publishing Travis shard (#14714) 2018-02-21 10:57:21 -08:00
xster 5b46e0a4be
Let Travis build the gallery and push to TestFlight / Play Store (#14408)
* iOS works

* Works on Android

* Take in commit number in iOS also. Get rid of image upload for Android. It's just a waste of bandwidth

* Tweak to fix on Travis
2018-02-05 12:00:24 -08:00
Ian Hickson 9e42e4b88f
New release process (#14061)
Generate the "version" file from git tags.
Remove the old VERSION file and mentions of versions in pubspec.yaml files.
Replace the old update_versions.dart script with a new roll_dev.dart script.
Update "flutter channel".
Update "flutter upgrade", including making it transition from alpha to dev.
Update "flutter --version" and "flutter doctor".
2018-01-18 07:59:06 -08:00
Greg Spencer beb4004f5b
Remove the coverage shard from Travis completely. (#13042) 2017-11-16 10:30:04 -08:00
Michael Goderbauer d66f08a383 Don't run analyze, coverage, docs on Mac (#11990) 2017-09-07 14:18:40 -07:00
Ian Hickson 35496d00a9 Re-enable coverage checking. (#11537)
I forgot to do this when I updated our test package.
2017-08-07 16:55:29 -07:00
Jason Simmons 7df854ad47 Disable the coverage shard in Travis (#11512)
In a Travis environment, the test package is exiting the process after
completing the tests.
See dart-lang/test@d1057c4

The flutter test command calls the test package's main() and then expects to
do other work afterward.  The exit prevents flutter test from writing the
new coverage results, causing the coveralls tool to run against an old
lcov.info file.
2017-08-03 18:05:49 -07:00
Jacob Richman cf8d11ad1b Revert "Cache the hosted directory under .pub-cache instead of all of .pub-cache." (#11507)
This reverts commit 0cfd3dec23.
2017-08-03 15:30:28 -07:00
Jacob Richman b64c0e117c Cache the hosted directory under .pub-cache instead of all of .pub-cache. (#11506) 2017-08-03 13:16:29 -07:00
Todd Volkert 4d706ef1a3 Enable OS-X testing on Travis (#11141)
Fixes #7894
2017-07-10 15:30:37 -07:00
Todd Volkert 63d250061d Re-enable doc uploading on Travis (#11118)
https://github.com/flutter/flutter/issues/10940
2017-07-07 15:36:36 -07:00
Todd Volkert f5f795c2f2 Revert "Re-enable coverage and docs uploading (#11005)" (#11006)
This reverts commit b800654ad5.
2017-06-27 15:14:37 -07:00
Todd Volkert b800654ad5 Re-enable coverage and docs uploading (#11005)
This time, do so in Travis' sudo-enabled environment,
which is said to be less prone to networking issues.
It also means we'll run in an env with 7.5GB of RAM
instead of 4GB or RAM (at the cost of about 45 seconds
of extra boot-up time).

https://github.com/flutter/flutter/issues/10940
2017-06-27 15:09:08 -07:00
Ian Hickson 50924fb7db Revert "Re-enable coverage and docs uploading (#10995)" (#10999)
This reverts commit aa904a580a.
2017-06-27 12:31:37 -07:00
Todd Volkert aa904a580a Re-enable coverage and docs uploading (#10995)
Fixes #10940
2017-06-27 12:24:49 -07:00
Todd Volkert c79e25c5a7 Stop uploading coverage and docs until dl.google.com issue is resolved (#10941)
https://github.com/flutter/flutter/issues/10940
2017-06-23 13:40:38 -07:00
Todd Volkert bd67926f84 Run coverage in a dedicated shard on Travis (#10755) 2017-06-15 17:54:45 -07:00
Michael Thomsen 2e10f61c5c Upgrade node version (#9549)
* Upgrade node version

* Upgrade node version, but no further than 6 which is in LTS
2017-04-24 13:14:44 +02:00
Jason Simmons a97eb12147 Use only Linux workers on Travis (#8678) 2017-03-09 10:06:42 -08:00
Adam Barth a44d3b7f7f Shard Travis job into three pieces (#8232) 2017-02-16 20:40:07 -08:00
Michael Goderbauer f4dbdabeb1 Do not upload anything when tests fail on travis. (#8065)
This used to be the logic before I made the tests portable.
2017-02-10 13:12:56 -08:00
Michael Goderbauer be99a04dac Make bot tests portable to also run on Windows (#7954) 2017-02-08 10:05:36 -08:00
Ian Hickson 502592e56c Revert "Use test fonts in the test shell and remove custom font installation on Travis." (#7265) 2016-12-15 11:01:39 -08:00
Chinmay Garde 3bc6a1bf6f Use test fonts in the test shell and remove custom font installation on Travis. (#7250) 2016-12-13 12:18:02 -08:00
Chinmay Garde 093205806c Update engine revision. (#6969) 2016-11-22 12:24:42 -08:00
Seth Ladd 1ac08b2632 Firebase hosting for docs (#4871)
* configs for firebase hosting

* use the implicit FIREBASE_TOKEN

* don't print every command (lowers the chance of printing secret env vars, and for realz only deploy when merging into master
2016-07-12 12:53:47 -07:00
Adam Barth d804858314 Try to fix coveralls upload 2016-07-08 14:49:53 -07:00
Adam Barth b2576dc000 Add coveralls token 2016-07-08 14:18:21 -07:00
Adam Barth ed2c24ba2b Add coveralls support to Travis (#4690)
This patch causes us to upload a coverage report to coveralls.io.
2016-06-22 14:47:41 -07:00
Ian Hickson 942ccc5cb0 Try to simplify our bot setup. (#3986)
This moves all the bot-related files to `dev/bots`, hiding it from our
home page in github. Also, simplifies the travis setup, though that
doesn't do any difference to the performance sadly.
2016-05-18 11:38:45 -07:00
Eric Seidel 086cb5d2df See if fixing indent fixes our missing caching
@abarth
2015-12-14 19:40:37 -08:00
Eric Seidel d8e4fee9a0 Add nicer logging/reporting to dev/update_packages.dart
Makes it more obvious where we are spending our time on Travis.

Also added travis caching for the global pub cache to
speed this up!  Modeled what dartdoc does:
https://github.com/dart-lang/dartdoc/blob/master/.travis.yml#L13

@Hixie
2015-12-14 15:30:09 -08:00
Adam Barth 8a06b83607 Switch Travis to the stable Dart SDK
Hopefully this will make Travis green.
2015-11-21 11:59:29 -08:00
Hixie 8ab229f89c Make the analyzer actually work.
Turns out that ignoring all error lines that match the empty string is a
poor way to go.

Also, we have to update all the example packages now too, since we
analyze them. So just have travis use our update script.

Also, remove flutter_tools' old travis stuff. It's now part of a bigger
repo.

Also, make travis use the dev Dart SDK, since we need the new analyzer.
Stable is way too out of date, e.g. it still complains about libraries
not having names and mixins using 'super', and the strong mode hints are
even more aggressive than on dev.
2015-11-12 15:41:04 -08:00
Adam Barth 2f6c37672c Run unit tests on Travis 2015-11-06 23:47:04 -08:00
Adam Barth 6fea7f5871 Start building the repository structure 2015-11-02 22:00:11 -08:00