Commit Graph

1871 Commits

Author SHA1 Message Date
James Burgess
616bab64aa Attempt meteor --get-ready three times in AppVeyor tests (#9518) 2018-01-10 11:42:04 -05:00
Ben Newman
7583fc0bb6 Update meteor-babel and reify to latest versions. 2017-12-19 18:14:38 -05:00
Ben Newman
ac705ebd92 Bump reify npm package to version 0.13.3. 2017-12-12 13:30:59 -05:00
Ben Newman
bf9624f644 Merge branch 'master' into devel 2017-12-08 18:02:55 -05:00
Ben Newman
02cfd0fab1 Merge branch 'master' into release-1.6.0.1 2017-12-08 17:58:26 -05:00
Ben Newman
db3efd3a6f Merge branch 'release-1.5.x' 2017-12-08 17:17:50 -05:00
Ben Newman
5533aa7ce8 Bump package versions for the official 1.6.0.1 release. 2017-12-08 14:19:21 -05:00
Ben Newman
a436fde109 Bump package versions for the official 1.5.4.1 release. 2017-12-08 13:35:15 -05:00
Ben Newman
44ade416b1 Bump package versions for 1.5.4.1-rc.0 release. 2017-12-08 12:40:28 -05:00
Ben Newman
feb68df4d6 Bump package versions for 1.6.0.1-rc.0 release. 2017-12-08 12:10:11 -05:00
Ben Newman
9e4010a1ba Upgrade Node to version 4.9.7.
https://nodejs.org/en/blog/release/v4.9.7/
https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/
2017-12-08 11:52:52 -05:00
Ben Newman
dfd8511e4e Upgrade Node to version 8.9.3.
https://nodejs.org/en/blog/release/v8.9.3/
https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/
2017-12-08 11:47:53 -05:00
Ben Newman
7d9ee28efc Bump package versions for 1.5.4.1-beta.0 release. 2017-12-07 20:16:44 -05:00
Ben Newman
6c7531de46 Update expected dev bundle tarball count from 4 to 5. 2017-12-07 20:16:41 -05:00
Ben Newman
e49c632316 Bump package versions for 1.6.0.1-beta.0 release. 2017-12-07 18:53:27 -05:00
Ben Newman
bd91cbef87 Add @babel/runtime to dev bundle and update npm dependencies.
These are the same versions currently on release-1.6.1.
2017-12-07 18:43:39 -05:00
Ben Newman
3ff79472a0 Upgrade npm to version 5.5.1.
http://blog.npmjs.org/post/166044150500/v550-2017-10-04
2017-12-07 17:53:45 -05:00
Ben Newman
308692418b Upgrade Node to version 8.9.2.
https://nodejs.org/en/blog/release/v8.9.2/
2017-12-07 17:53:32 -05:00
Ben Newman
1a13cbe1b9 Update meteor-babel to version 7.0.0-beta.34-1.
This temporarily reverts back to using @babel/runtime/helpers/* rather
than @babel/runtime/helpers/builtin/*, since some helpers (for example,
`slicedToArray`) were using code patterns that cannot be made to work via
polyfills in older browsers, e.g.

  if (Symbol.iterator in Object(arr)) {...}

to test whether `arr` is iterable.
2017-12-05 09:52:55 -05:00
Ben Newman
bdb28bc74f Update meteor-babel and @babel/runtime to 7.0.0-beta.34.
This applies only to the command-line tool, for now.
2017-12-05 09:52:54 -05:00
Jesse Rosenberger
3c1ab6a3a7 Merge branch 'devel' into abernix/decompose-self-test 2017-11-29 22:28:01 +02:00
Jesse Rosenberger
204270694c Add support for a --retries flag to meteor self-test.
While running the tests three times might make a lot of sence in CI
environments, it certainly slows things down in development, especially
when you've failed a test on purpose, but still have to wait for it to
run three times to get the output.

This not only implements the `--retries` flag, but also activates it in
both CircleCI and AppVeyor test suites.
2017-11-23 18:39:34 +02:00
Jesse Rosenberger
109b1116ac Update internal meteor-babel to 7.0.0-beta.3-2.
ac6f3bef07
2017-11-21 11:37:30 +02:00
Jesse Rosenberger
75a262a278 Use Mongo 3.4 for 64-bit platforms.
Most of the work to prepare for this change was done through the
excellent work of @hwillson in meteor/meteor#9173 which, after some
re-working to support the 64-bit architecture on Windows platforms,
landed in meteor/meteor#9218, making this change as simple as bumping
the minor version number (and rebuilding the dev bundle).

From this point forward, and due to Mongo's discontinuation of 32-bit
support in newer versions of MongoDB, 64-bit platforms will, in
development, use newer versions of Mongo while 32-bit architectures
will remain at 3.2.x versions.

Of course, in production, apps are free to use whichever version of
Mongo they would like, provided that version is supported by the
Node Mongo driver and Meteor's Mongo data packages.  At this time
there is no target for when Meteor will stop supporting Mongo 3.2,
but developers are encouraged to take steps to upgrade their Mongo
deployments (through their database providers) to newer versions
since Mongo has set September 2018 as the "End-of-Life" for Mongo
3.2.x.  For more information on Mongo support cycles, see their
support documents at https://www.mongodb.com/support-policy.

Refs: https://github.com/meteor/meteor/pull/9173
Refs: https://github.com/meteor/meteor/pull/9218
2017-11-21 11:37:29 +02:00
Jesse Rosenberger
7117d30e0f Stop pre-installing phantomjs-prebuilt and browserstack-webdriver.
While this was necessary in previous versions of Meteor, as of 1.6 the
`self-test` tooling will automatically install the dependencies it needs
at runtime.

Not only does this allow the installation to be avoided when tests using
those facilities aren't invoked, it also allows us to reliably install
the same version of these npms, rather than falling back to the
`latest` npm tag on each CI run.
2017-11-14 16:52:34 +02:00
Jesse Rosenberger
854076c817 Remove the source of the deprecated Windows installer.
This code had been used to compile the previous generation of
the Windows installer, `InstallMeteor.exe`, however it has been
replaced with the `meteor` Chocolatey package.

Refs: https://github.com/meteor/meteor-chocolatey-installer.
2017-11-09 23:13:29 +02:00
Jesse Rosenberger
d7e660fff1 In AppVeyor testing, only run a single dynamic import test.
Currently, three 'dynamic import' tests exist in the self-test suite:

 * dynamic import(...) in development
 * dynamic import(...) in production
 * dynamic import(...) with cache

These tests take quite some time to run; each test takes ~5 minutes.

While it's great to test them in a faster environment (Unix), which
Meteor will continue to do, the overall value of the three separate
tests is not as great in a slower testing environment, like Windows.
2017-11-09 15:53:47 +02:00
Jesse Rosenberger
66e1a780a6 Bump package versions for 1.5.4 release. 2017-11-08 22:22:39 +02:00
Jesse Rosenberger
958c44ff1b Move 'cordova-lib' back to CORDOVA_DEV_BUNDLE_VERSIONS for auto install.
While 'cordova-lib' used to live in 'dev-bundle-tool-package.js' where
it was pre-bundled into the "dev bundle", that is no longer the case.

It is now automatically installed, on demand, when Cordova is used.

This follows up on meteor/meteor#9213, which added it back to the
'dev-bundle-tool-package.js' and updates it in the new location.

Ref: https://github.com/meteor/meteor/pull/9213
Ref: 073f2410a6

cc @skirunman.
2017-11-08 21:53:37 +02:00
skirunman
073f2410a6 Cordova 7.1.0, Android 6.3.0 and iOS 4.5.3 updates (#9213)
* Update to Cordova 7.1.0 and Cordova Android 6.3.0

* Update deprecated Cordova plugins

* Update History.md for both Cordova updates and previous iOS icons and launch screens

* Update the PR #

* Remove change to History.md

This change is now in https://github.com/meteor/meteor/pull/9227

* Update to iOS 4.5.2

Update to new Cordova iOS 4.5.2 release. https://cordova.apache.org/announcements/2017/10/16/ios-release.html

* Update History.md for Cordova iOS 4.5.2.

* Update to Cordova iOS 4.5.3

Update to Cordova iOS 4.5.3, see https://cordova.apache.org/announcements/2017/10/31/ios-release.html

* Tweak history for update to Cordova iOS 4.5.3

* Update iOS launch screens 

Updating iOS launch screens to match what is supported in Cordova iOS 4.5.3 and remove latest iPad Pro sizes that are not supported in Xcode 9 and therefore not in Cordova iOS. See c3d24a9f02/bin/templates/scripts/cordova/lib/prepare.js
2017-11-08 18:14:12 +02:00
Jesse Rosenberger
6faa67be8f Bump package versions for 1.5.4-rc.0 release. 2017-11-07 21:35:37 +02:00
Jesse Rosenberger
ca31a84dbf Only try to download $NODE_BUILD_NUMBER when defined.
Alternatively, this was just failing when trying to download a file that
was 404-ing.  This just short-circuits before that inevitable failure.
2017-11-07 20:17:51 +02:00
Jesse Rosenberger
f2009e2fa6 Switch to official Node.js 4.8.6 and stop using a custom Meteor build.
This puts Meteor back on the official release track of Node.js 4, rather
than using its own custom build (from https://github.com/meteor/node/),
which had previously been necessary to add the garbage collection fixes
gained with
751f1ac08e
and
71f9cdf241,
both of which are now officially included in Node.js 4.x as of 4.8.6.
🎉
2017-11-07 20:04:48 +02:00
Jesse Rosenberger
5d8e5013fa Bump package versions for the official 1.5.3 release. 2017-11-04 10:13:20 +02:00
Jesse Rosenberger
b0f624ae57 Throw an error when any external command fails during test preparation.
Even with $ErrorActionPreference, PowerShell won't automatically fail
when an external command fails with an error code.  This explicitly
checks those exit codes and throws an error when that occurs.

Hopefully prevents false successes like that shown in this AppVeyor
test run: https://goo.gl/xxRsF9.
2017-11-02 08:49:25 -07:00
Jesse Rosenberger
790871796c Remove problematic Windows test, until it can be researched further.
Though it was thought to be reliable when running through 'self-test' on
Windows, it's yet to be seen how reliable.

The worst thing that could come of adding Windows testing would be that
we have test failures again after such a string of green checkmarks and
confidence.

Also, reordered.
2017-11-02 08:49:16 -07:00
Jesse Rosenberger
dff4325341 Basic Appveyor testing for Windows.
This implements a first generation of Windows CI testing.  Presently,
this only runs valuable, hand-picked tests which have been known to work
in the past, and whose failure would indicate a critical problem.

A test which isn't passing doesn't mean that the feature being tested is
not working. For example, the 'create' test fails ostentatiously,
though the 'meteor create' command certainly works in practice. This
points to problems some compatibility problems with the 'self-test'
harness itself, some of which I'm aware of.  Though, it likely will
highlight some legitimate problems which Windows users experience too.

There are a number of additional tests which should be enabled which
likely pass already, and many more which are failing and we should fix.

Additional tests can be added to the scripts/windows/appveyor/test.ps1
file as they've been deemed working.

Altogether, this will take extensive work to achieve the same level of
coverage our Unix test suite enjoy, but we've got to start somewhere!

cc @benjamn
2017-11-02 08:48:20 -07:00
Jesse Rosenberger
9efe9e8b80 Bump package versions for 1.5.3-rc.1 release. 2017-10-31 11:21:02 -07:00
Jesse Rosenberger
d6fc953ba6 Bump $NODE_BUILD_NUMBER to 120 before rebuilding dev bundle. 2017-10-27 15:15:55 -07:00
Jesse Rosenberger
9c62a55137 Bump $NODE_BUILD_NUMBER to 116 before rebuilding dev bundle. 2017-10-27 14:47:06 -07:00
Jesse Rosenberger
e5211e4876 Bump package versions for 1.5.3-rc.0 release. 2017-10-27 11:39:02 -07:00
Ben Newman
0bff81f0b4 Bump package versions for the official 1.6 release. 2017-10-27 13:00:43 -04:00
Ben Newman
b63ab27986 Bump package versions for 1.6-rc.18 release. 2017-10-26 11:37:15 -04:00
Ben Newman
4a2f0fb69a Upgrade Node to version 8.8.1.
https://nodejs.org/en/blog/release/v8.8.1/
2017-10-26 11:17:55 -04:00
Jesse Rosenberger
16a4bbab04 Bump $NODE_VERSION to 4.8.5 before rebuilding dev bundle.
While the actual version included for Unix developers will be our own
build at NODE_VERSION, this is important for the Windows version, since
it is not being rebuilt by our Jenkins at the moment.
2017-10-24 16:03:07 -07:00
Jesse Rosenberger
8841080c9e Bump $NODE_BUILD_NUMBER to 113 before rebuilding dev bundle. 2017-10-24 16:00:54 -07:00
Ben Newman
cb85625520 Remove dev_bundle/.npm (-30MB due to .npm/_cacache). 2017-10-24 16:00:54 -07:00
Ben Newman
24c80da9ef Bump package versions for 1.6-rc.17 release. 2017-10-24 18:45:30 -04:00
Ben Newman
f1e87ddae4 Upgrade Node to version 8.8.0.
https://nodejs.org/en/blog/release/v8.8.0/
https://nodejs.org/en/blog/vulnerability/oct-2017-dos/
2017-10-24 18:25:39 -04:00
Jesse Rosenberger
7707029644 Throw an error when any external command fails during test preparation.
Even with $ErrorActionPreference, PowerShell won't automatically fail
when an external command fails with an error code.  This explicitly
checks those exit codes and throws an error when that occurs.

Hopefully prevents false successes like that shown in this AppVeyor
test run: https://goo.gl/xxRsF9.
2017-10-23 17:55:30 -07:00