Commit graph

30 commits

Author SHA1 Message Date
Juan Tejada b8883cd2b7 [dev] Only bootstrap specific pkgs in postinstall for faster installs
Summary:
This commit makes it so postinstall.es6 only bootstraps the packages we
are interested in based on a new env variable, `INSTALL_TARGET`.

`INSTALL_TARGET` can be set to `cloud`, `client` or `all`, or not set at all,
and our postinstall will bootstrap the packages accordingly. This will make
build and deploy times faster.

Test Plan: manual

Reviewers: spang, halla, evan, khamidou

Reviewed By: evan, khamidou

Differential Revision: https://phab.nylas.com/D4271
2017-03-28 13:59:55 -07:00
Evan Morikawa 093f315f59 [client-app] don't bootsrap cloud stuff when building the client
Summary:
We don't need to spend the time running script/bootstrap in our cloud-*
folders!

Test Plan: manual

Reviewers: spang, juan, halla

Reviewed By: juan, halla

Differential Revision: https://phab.nylas.com/D4214
2017-03-14 13:39:56 -07:00
Evan Morikawa 1f2370c2a9 [client-app] run windows build separately
Summary:
build-client, aka packaging, aka bundling is now separate from uploading.
This is both to compartmentalize our tasks a bit more and so we can add a
non-grunt windows task inbetween packaging and uploading.

No more heavily-overloaded PUBLISH_BUILD flag.
Added SIGN_BUILD flag instead.
No more TRAVIS and TRAVIS_PULL_REQUEST flag.

Test Plan: Manual

Reviewers: halla, juan, spang

Reviewed By: juan, spang

Differential Revision: https://phab.nylas.com/D4208
2017-03-13 15:48:45 -07:00
Evan Morikawa 3eb05713df [client-app] update appveyor
Summary:
This updates the appveyor file to get the app building on windows too!

See https://ci.appveyor.com/project/nylas/nylas-mail-all

Test Plan: Run https://ci.appveyor.com/project/nylas/nylas-mail-all

Reviewers: juan, spang, jerm

Differential Revision: https://phab.nylas.com/D4000
2017-03-03 14:22:38 -08:00
Evan Morikawa 9f6889b03f [nylas-mail] move nylas-mail into /packages 2017-02-16 13:15:10 -08:00
Evan Morikawa 1ebb0607e7 bump(appveyor): build stable branches 2017-02-03 10:19:15 -08:00
Evan Morikawa 4fadcfdc89 fix(rename): remove n1-next references & update changelog link 2017-01-30 11:40:03 -08:00
Juan Tejada 649449ff4d build(notif) Remove appveyor notifs for now 2017-01-23 13:30:27 -08:00
Tomasz Finc 7484e6d4f8 Adding AppVeyor Slack notifications
Summary: So that we know the status of builds

Test Plan: Run the build. See it post to slack

Reviewers: juan, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D3607
2017-01-09 10:28:14 -08:00
Tomasz Finc 2cf9e3a20a Removing node module cache for now to see if stops gyp rebuild from breaking
Summary: Trying to fix https://ci.appveyor.com/project/nylas/n1/build/2442

Test Plan: ... run the build

Reviewers: juan, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D3603
2017-01-06 14:56:54 -08:00
Tomasz Finc 3d12b36294 Removing unit tests for now
Test Plan: Run the build

Reviewers: evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D3579
2017-01-04 11:33:42 -08:00
Tomasz Finc e85954e1f6 Adding n1-next to AppVeyor builds
Test Plan: Run some builds

Reviewers: evan

Reviewed By: evan

Maniphest Tasks: T7377

Differential Revision: https://phab.nylas.com/D3574
2017-01-03 14:00:02 -08:00
Evan Morikawa 2650613ef1 Move old edgehill src/pro into K2/packages/nylas-private 2016-12-12 10:10:26 -05:00
Ben Gotow 370d2b40aa fix(build): reset appveyor cache on package change 2016-11-21 13:57:52 -08:00
Juan Tejada 63e4f05d15 fix(win-build) Run deploy_script as cmd 2016-11-18 12:24:45 -08:00
Juan Tejada f47194fee1 fix(win-build): Change to 'cmd' for build script
This should prevent it from failing on npm install warnings
2016-11-18 11:01:21 -08:00
Ben Gotow 0f77e3da74 fix(builds): AppVeyor can cache node_modules too 2016-11-09 14:40:41 -08:00
Ben Gotow c8a656059a fix(builds): Stop when tests fail, use Appveyor build phases 2016-11-09 14:40:27 -08:00
Ben Gotow 347238990b ci(*): Travis and AppVeyor changes, script cleanup
Also removed 32-bit build files which have been made obsolete. You can build 32-bit builds by altering script/bootstrap to specify a different arch
2016-11-09 14:13:09 -08:00
Evan Morikawa 8e97850b1a fix(build): bump AppVeyor to build with Node 6.9 from 4.2 2016-10-28 10:37:59 -04:00
Ben Gotow 8df4f6d744 feat(win32): Allow N1 to become the system-wide mailto: handler
Summary: This will address the longstanding concern in #417

Test Plan: No new tests

Reviewers: juan, evan

Reviewed By: juan, evan

Maniphest Tasks: T7065

Differential Revision: https://phab.nylas.com/D3322
2016-10-12 16:05:36 -07:00
Evan Morikawa 60d2c24693 feat(package): fix build-resources-task and move submodule 2016-04-25 16:01:56 -07:00
mbilker 6fa019e4c1 fix(appveyor): check if the decryption password env variable is set 2015-12-21 20:51:04 -05:00
mbilker fbdf4b840a fix(appveyor): return build verbosity to normal 2015-12-21 11:27:26 -05:00
mbilker 3c88a5764f fix(appveyor): now working, YAML parses correctly 2015-12-21 11:24:28 -05:00
mbilker ce7f50604c fix(appveyor): increase verbosity for testing 2015-12-21 11:14:28 -05:00
mbilker 116fbf0fa2 fix(appveyor): check if running in PR, disable commands requiring secure variables if so 2015-12-21 11:11:29 -05:00
Ben Gotow 8ea8df8efc fix(ci): stable instead of release/* branches 2015-12-11 17:13:42 -08:00
Evan Morikawa d5ef810984 fix(ci): add caching and fix ssh issue 2015-12-10 14:16:55 -05:00
Evan Morikawa d95cb45147 feat(ci): add Travis and AppVeyor ci support 2015-12-07 12:48:26 -05:00