Ben Gotow
97e36cb1d9
Fix remaining lint errors, make travis run tests and linters
2017-09-27 11:08:07 -07:00
Ben Gotow
b698458766
Switch product name to “Mailspring”
2017-09-05 13:40:25 -07:00
Ben Gotow
c4488cbc7b
Travis: Setup mac keychain before building C++
2017-08-31 12:27:07 -07:00
Ben Gotow
41bb6c9fd7
Move mailsync code after building to repro travis-ci/artifacts/issues/78
2017-08-14 18:06:30 -07:00
Ben Gotow
36113e258c
Bump electron-packager, enable logging of electron-osx-sign*
2017-08-14 13:00:59 -07:00
Ben Gotow
81021070f5
Enable more verbose logging to track down Mac build timeout issue
2017-08-14 10:11:03 -07:00
Ben Gotow
619d275256
On MacOS, upload mailsync dYSM file as well
2017-08-13 10:57:54 -07:00
Ben Gotow
20bdfded66
Use Xcode 8.3 fro the Travis mac build
2017-08-13 10:06:24 -07:00
Ben Gotow
38e5362b50
Place mailsync binary in ./app/dist to fix S3 path
2017-08-12 19:34:24 -07:00
Ben Gotow
c62887f279
Lowercase the MailSync process name on Mac OS X for consistency
2017-08-12 18:53:36 -07:00
Ben Gotow
3cce5627ac
Cache linux deps built from scratch, fix travis mac SSH auth
2017-08-12 18:34:43 -07:00
Ben Gotow
096943ebe8
Upgrade Travis to G++ / GCC 5, sudo to instal llibetpan
2017-08-11 19:38:36 -07:00
Ben Gotow
3a5f9abbd3
Add Linux build scripts for C++ Mailsync
2017-08-11 17:41:22 -07:00
Ben Gotow
0768077adf
Configure Xcode to place MailSync into client dir
2017-08-11 12:41:42 -07:00
Ben Gotow
d581f0e09c
Add deploy key to certs.tar.enc, pull and build C++ mailsync
2017-08-11 12:08:36 -07:00
Ben Gotow
df2172a0b9
Finally got linux build shipping, change Appveyor artifact paths again
2017-08-11 09:33:21 -07:00
Ben Gotow
4eac3f1604
Run with all the variations - still not finding linux build artifacts
2017-08-11 09:20:46 -07:00
Ben Gotow
7b4f38f025
Use cmd instead of powershell for win-installer, fix file patterns
2017-08-11 02:13:02 -07:00
Ben Gotow
dc5884bfb7
Fix .travis.yml formatting again
2017-08-10 23:36:44 -07:00
Ben Gotow
643a589974
Fix .travis.yml formatting, was not installing apt packages
2017-08-10 23:31:37 -07:00
Ben Gotow
b83a7fd426
Revert to Node 6.9+, Linux build failing with npm 4
2017-08-10 23:20:34 -07:00
Ben Gotow
160812900b
Try using Travis “artifacts” to avoid uploading extra junk to S3
2017-08-10 22:47:33 -07:00
Ben Gotow
29c89acb60
Enable app/node_modules caching, make postinstall check its Electron version
2017-08-10 22:47:06 -07:00
Ben Gotow
653618133b
Remove “matrix” nesting in deploy block of .travis.yml
2017-08-10 21:45:05 -07:00
Ben Gotow
89200b5e67
Encrypt and commit Mac build secrets
2017-08-10 21:24:12 -07:00
Ben Gotow
7f3731bc10
Clean up project directory structure, removing legacy packages folder
2017-08-10 19:24:10 -07:00
Ben Gotow
c71d8fad72
Remove benchmark mode, npm scripts related to cloud codebase
2017-08-02 13:33:52 -07:00
Ben Gotow
aa2e2a7624
Remove APM for now
2017-07-11 12:15:47 -07:00
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
59361a7734
[client-app] fix travis env variables
2017-03-13 16:05:50 -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
2e89d4f643
[*] remove travs_wait now bootstrap more verbose
2017-03-06 14:13:12 -05:00
Evan Morikawa
fc2557051c
[*] add travis_wait
to build
2017-03-06 11:37:01 -05:00
Evan Morikawa
7b7318b220
[client-app] update Travis
...
Summary:
Also see:
3a33b0ad64
which was hot-pushed to master in order to get Travis building.
We now have two travis files:
1. /.travis.yml
2. /packages/client-app/travis.yml
The first one is alwas in the private repo and runs `npm install && npm
run build-client`. This decrypts our keys and signs, builds, and uploads
to S3.
The second one is designed to live in our yet-to-be public mirror. It will
basically just run `npm install && npm test`.
That way the public one should just about ALWAYS pass (YAY!) except of
course when you break the tests or something in the installer!
Test Plan: Run on new https://travis-ci.com/nylas/nylas-mail-all
Reviewers: jerm, spang, juan
Reviewed By: spang, juan
Differential Revision: https://phab.nylas.com/D3999
2017-02-22 16:19:45 -05:00
Evan Morikawa
3a33b0ad64
[client-app] update build system
2017-02-21 17:32:22 -05:00
Evan Morikawa
9f6889b03f
[nylas-mail] move nylas-mail into /packages
2017-02-16 13:15:10 -08:00
Juan Tejada
8d36ce6723
Actually fix travis
2017-02-10 15:16:07 -08:00
Juan Tejada
d558990ecf
fix(build) Fix travis build script
2017-02-10 15:11:43 -08:00
Juan Tejada
cab1acfcc9
fix(build/travis) Only run tests on mac
2017-02-10 15:01:50 -08:00
Evan Morikawa
eb5aa235a8
fix(build): re-add specs back into build process
2017-02-09 19:07:00 -05:00
Juan Tejada
43e1dd6e7c
Fix travis config
2017-02-02 17:48:40 -08:00
Juan Tejada
4907c23608
Update travis config
2017-02-02 17:42:54 -08:00
Evan Morikawa
9bc87c1ba1
bump(electron): bump electron to 1.4.15
2017-01-30 15:55:13 -08:00
Evan Morikawa
1d6f634e1c
fix(ci): add linux dependencies for keyboard-layout plugin build
...
https://github.com/atom/keyboard-layout/issues/27
2017-01-30 15:40:52 -08:00
Evan Morikawa
4fadcfdc89
fix(rename): remove n1-next references & update changelog link
2017-01-30 11:40:03 -08:00
Juan Tejada
f9d4974b51
fix(build) Temporarily remove tests
2017-01-06 09:58:55 -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
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
dbc5a97cdd
fix(travis): PUBLISH_BUILD only on mirror
2016-11-03 11:31:58 -07:00
Evan Morikawa
ff2e626037
fix(travis): fix conditional check in before_install
2016-11-02 14:54:17 -07:00
Evan Morikawa
ec7133dff1
fix(travis): Fix travis build script
...
fix(travis): Fix travis error
add debug to travis
bump(submodule)
Silence
2016-11-02 13:02:31 -07:00
Evan Morikawa
c651d272b0
fix(travis): Fix path to encrypted files
2016-11-02 12:26:45 -07:00
Evan Morikawa
73775ad31a
feat(travis): allow builds on mirror
2016-11-02 12:23:19 -07:00
Evan Morikawa
5e582f97de
fix(travis): build with Node 6.9 to fix npm build issue
...
Travis on Node 4.2 can't succeed installing the build folder with npm 2
due to a peerdependency issue that doesn't happen with latest node and npm
2016-10-28 10:09:42 -04:00
Evan Morikawa
05a50e5175
feat(travis): add ci-build/.* wildcard to building branches
2016-08-29 17:43:24 -07:00
Ben Gotow
cb10694986
build(travis): Drop Node 0.12 build, unclear if supported by babel 6
2016-05-13 14:57:37 -07:00
Juan Tejada
1a78a758f4
refactor(deltas): Update sync-worker to use NylasAPI.longConnection
...
Summary:
- Remove nylas-long-connection.coffee duplicate code from sync worker package
and replace with delta-streaming-connection which uses NylasAPI.longConnection
- Replacement for XHR will come in another diff -- still need to clean up and
fix some edge cases
Test Plan:
- TODO! Will add test coverage for NylasLongConnection and
DeltaStreamingConnection
Reviewers: evan, bengotow
Reviewed By: evan, bengotow
Differential Revision: https://phab.nylas.com/D2875
2016-05-04 13:03:47 -07:00
Evan Morikawa
60d2c24693
feat(package): fix build-resources-task and move submodule
2016-04-25 16:01:56 -07:00
Juan Tejada
9848f8f086
Revert "fix(build): Actually make verbose"
...
This reverts commit a3156a1799
.
2016-04-11 16:12:05 -07:00
Juan Tejada
a3156a1799
fix(build): Actually make verbose
2016-04-11 15:40:40 -07:00
Juan Tejada
191cc144db
update(build): Add verbose flag
2016-04-11 15:20:31 -07:00
Evan Morikawa
071a769434
fix(travis): fewer builds
2016-02-25 17:04:32 -08:00
Ben Gotow
ee96339fed
build(*): Add travis reporting to Slack
2016-02-03 14:36:02 -08:00
Evan Morikawa
9530a84877
feat(build): new rpm builds
...
Summary: Now builds RPM on Travis
Test Plan: manual
Reviewers: juan, bengotow
Reviewed By: bengotow
Differential Revision: https://phab.nylas.com/D2391
2016-01-04 09:56:14 -08:00
Ben Gotow
8ea8df8efc
fix(ci): stable
instead of release/*
branches
2015-12-11 17:13:42 -08:00
Evan Morikawa
d3baa36259
feat(ci): add build/node_modules to cache
2015-12-10 14:22:05 -05:00
Evan Morikawa
d5ef810984
fix(ci): add caching and fix ssh issue
2015-12-10 14:16:55 -05:00
mbilker
8cea42fa1b
fix(travis): include GitHub OAuth token to preven Electron download error
2015-12-10 11:59:32 -05:00
mbilker
5d95647ff5
fix(travis): use the private assets only when building branches from main repository
2015-12-10 11:59:32 -05:00
mbilker
3c6811c500
fix(travis): use the ssh_known_hosts addon to run ssh-keyscan
...
Travis provides a wonderful helper addon documented at
https://docs.travis-ci.com/user/ssh-known-hosts/ .
The behavior changed moves the ssh-keyscan from the before_install
stage to the addons stage.
2015-12-10 11:59:32 -05:00
mbilker
94fb459c59
fix(travis): readd whitespace, reorder according to build Travis build process
...
Found the order at https://docs.travis-ci.com/user/customizing-the-build/ .
In nylas/N1@d95cb45147 the entire build script
was merged from Evan Morikawa, which reordered the whole Travis build script.
athis commit reorders the to have the Travis build environment config at the
beginning of the script and the build process at the end and the Travis
secure variables at the end of the script.
2015-12-10 11:59:32 -05:00
Evan Morikawa
f56dc18690
feat(spec): add config dir to integration specs
...
Summary:
- You can now pass `--config-dir-path=/some/custom/path` to `./N1.sh`
- `main.coffee` cleaned up a bit. A lot of unused params from legacy Atom
stuff were still being used
- Integration specs now set the config dir before booting.
- New spec to check for the autoupdater in the app and make sure it's
pointing at the right place.
Test Plan: script/grunt run-integration-tests
Reviewers: juan, bengotow
Reviewed By: bengotow
Differential Revision: https://phab.nylas.com/D2331
2015-12-10 10:52:20 -05:00
Ben Gotow
37b7c6a6c7
perf(travis): Fewer mac builds—Travis has fixed OS X bandwidth
2015-12-09 19:38:44 -08:00
Evan Morikawa
d95cb45147
feat(ci): add Travis and AppVeyor ci support
2015-12-07 12:48:26 -05:00
Evan Morikawa
64188fc7fd
fix(travis): only build ci-test
2015-12-04 16:39:42 -08:00
Evan Morikawa
031c4af043
fix(deploy): add travis-test branch to build whitelist
2015-12-02 16:49:14 -08:00
Evan Morikawa
cb7449f0c3
fix(build): ignore submodules on travis
2015-12-02 15:17:29 -08:00
Evan Morikawa
847ac1f10e
Update travis.yml for only branches
2015-11-29 21:30:11 -08:00
mbilker
e9e0b92050
fix(travis): specify NYLAS_HOME for nylas/N1#445
2015-11-23 23:31:37 -05:00
mbilker
5cf844d1bb
fix(travis): syntax error
2015-11-23 23:31:37 -05:00
mbilker
6fc56b94e0
fix(travis): only run Xvfb on Linux
...
Noticed in my Travis build that the build failed on OS X
because its missing the Xvfb startup files present on Ubuntu
2015-11-23 23:31:37 -05:00
mbilker
b7a7dde23a
fix(travis): enable fake Xorg window to allow electron testing on Linux
2015-11-23 23:31:37 -05:00
mbilker
a47d33271b
fix(travis): Add support for Node 4.2 LTS, C++11
...
commit 95ab064d24fdaf38a846987b88494a62f9acd87a
Author: mbilker <me@mbilker.us>
Date: Sat Nov 21 23:31:32 2015 -0500
fix(travis): use GCC 4.8 on 0.10 and 0.12 due to newer NAN library in dependent packages
commit 92cb159fd99c05729f6c7867c848be7383847a92
Author: mbilker <me@mbilker.us>
Date: Thu Nov 12 20:42:30 2015 -0500
fix(travis): switch from node 4.1 to 4.2 and add node 5
commit 973aacfdb7df72f6e3da549087492d8cb4388282
Author: mbilker <me@mbilker.us>
Date: Thu Nov 5 23:44:42 2015 -0500
fix(travis): display gcc version that corresponds to the CC variable
commit 6b4f907719b03924308ee33ad869d498277f15ae
Author: mbilker <me@mbilker.us>
Date: Thu Nov 5 23:34:11 2015 -0500
fix(travis): reenable osx node 0.12 build
commit c3cb97f2db9113140e374aefb8fc71a8d150593d
Author: mbilker <me@mbilker.us>
Date: Thu Nov 5 23:33:40 2015 -0500
add(travis): display gcc version
commit 71f3eb619d2bc7c6bc26bce11792622902ab982e
Author: mbilker <me@mbilker.us>
Date: Thu Nov 5 23:28:45 2015 -0500
fix(travis): set compiler in env declaration
commit 0b694230211bedd8a603810cb7959652e33f3bf1
Author: mbilker <me@mbilker.us>
Date: Thu Nov 5 23:25:46 2015 -0500
fix(travis): print currently used compiler in CC and CXX
commit 9ca898b543b7a97bf77c11837085eb43f18872d1
Author: mbilker <me@mbilker.us>
Date: Thu Nov 5 23:22:07 2015 -0500
fix(travis): install c++11 supported compilers
commit e728ee7de9015e0ac945cadc744e2bca61c0731b
Author: mbilker <me@mbilker.us>
Date: Thu Nov 5 23:07:35 2015 -0500
fix(travis): print clang version, disable frequently failing build configs
commit 8d6cf314b0d23a2e6bee1d6e543ef81dad5f4ffd
Author: mbilker <me@mbilker.us>
Date: Thu Nov 5 22:30:48 2015 -0500
fix(travis): delete npm prefix for node 4.1
commit b7cf33eac8ca07a7013c9248b3e90990b01cec39
Author: mbilker <me@mbilker.us>
Date: Thu Nov 5 22:26:20 2015 -0500
fix(travis): nvm complains on os x about npm prefix
commit 670168e4103cdd2d6eaddd32796dc581d0107a7c
Author: mbilker <me@mbilker.us>
Date: Thu Nov 5 22:19:25 2015 -0500
add(travis): test node 4.1 under linux and os x
2015-11-23 17:17:22 -08:00
Matt Bilker
3d69b76823
fix(travis): disable node 4 for now
...
throws errors everywhere regarding the compiler, nan, and node 4.1.2
2015-10-07 22:52:20 -04:00
Matt Bilker
766959bfab
fix(travis): set compiler to clang
2015-10-07 22:36:28 -04:00
Matt Bilker
6bdb850ade
fix(travis): another new github access token
...
found out you cannot use personal access tokens
github disables them if they are found in a commit
2015-10-07 22:26:45 -04:00
Matt Bilker
b00bc73dc5
fix(travis): update github access token
2015-10-07 22:15:10 -04:00
Matt Bilker
0ff7dfad9e
fix(travis): add github access key
2015-10-07 21:59:25 -04:00
Matt Bilker
87b509b905
fix(travis): nvm does not like node 4 on osx
2015-10-07 21:56:03 -04:00
Matt Bilker
d486698463
fix(travis): add required APT packages
2015-10-07 21:52:42 -04:00
Matt Bilker
8b02e4106c
fix(travis): switch to matrix build strategy
2015-10-07 21:51:30 -04:00
Matt Bilker
8230148e5e
fix(travis): accidentally removed the language selection
2015-10-07 21:46:14 -04:00
Matt Bilker
8eb6868f6c
fix(travis): Update travis script to run on multiple oses
2015-10-07 21:42:48 -04:00
Sebastian Misch
47a9b4d0e2
Add basic travis-ci integration
2015-10-05 23:59:43 +02:00