Commit graph

13 commits

Author SHA1 Message Date
Pavel Djundik
934400f5ee Do not build feature branch with open pull requests on AppVeyor
Ref: https://github.com/appveyor/ci/issues/882
2017-04-22 16:04:18 +03:00
Jérémie Astori
552fa3fae8 Make and document npm run build now a mandatory step of the install/build setup
This has several reasons, benefits and consequences:

- When running on root (which is not recommended anyway), `npm run build` was already necessary.
- This allows to not use the `prepublish` hook, whose behavior is going to change in npm v5 and again in npm v6.
- This allows to create both production and development builds when running from source.
- It makes `npm run build` compatible with Windows again for development environments (lost in previous commit).
- It uses the `prepublishOnly` hook added in npm v4. Since this hook is not available prior to that, deployment to npm from Travis has to be done on the Node.js v7 environment.
2017-01-23 01:15:50 -05:00
IlyaFinkelshteyn
8d31a0b312 Invalidate cache and use appveyor-retry with npm
Return cache but invalidate it when needed

Add appveyor-retry

Remove spaces
2016-11-25 19:43:24 -08:00
Pavel Djundik
d6545fd307 Remove appveyor cache 2016-11-20 09:43:08 +02:00
Jérémie Astori
79e20c83d5 Fix AppVeyor cache never being successfully built
Oh that wonderful Windows world...
2016-10-17 01:41:14 -04:00
Jérémie Astori
6dac7b1897 Use CI caches for downloaded files instead of installed ones
This allows for a more meaningful build: if a newer version of a sub-package breaks,
builds would still pass as it uses the cached version. This uses a cache for downloaded packages instead.

I am expecting this to slow down a little bit the builds (but we are OK overall)
but be more accurate in practice.

See https://docs.npmjs.com/cli/cache#configuration and https://docs.npmjs.com/files/folders#node-modules.
2016-10-11 22:30:08 -04:00
Pavel Djundik
32ee527ea5 Do not cache npm-cache folder on appveyor 2016-06-13 22:34:34 +03:00
Pavel Djundik
8addd5a8bc Upload appveyor test results 2016-06-07 17:41:24 +03:00
William Boman
1d088de974 ci: remove extraneous scripts 2016-06-06 18:46:31 +02:00
Pavel Djundik
e3e5c48f0b Cache npm modules on appveyor
https://www.appveyor.com/docs/build-cache#configuring-cache-items
2016-06-05 11:21:45 +03:00
Jérémie Astori
308ac9404e Make sure npm test script gets run on AppVeyor 2016-05-31 21:19:43 -04:00
Pavel Djundik
327064b5ee Run appveyor tests individually, just like on travis
Fixes failing builds being marked as successful
2016-06-01 00:36:39 +03:00
Jérémie Astori
c886657e6b Add AppVeyor configuration file 2016-05-31 04:42:35 -04:00