Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flex resizing for html eiting window #3388

Closed
wants to merge 4,228 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4228 commits
Select commit Hold shift + click to select a range
dee7ae7
[thread-search] Add loadFromColumn option to Attribute
Jan 19, 2017
1740cef
bump(k2)
emorikawa Jan 19, 2017
105dc2a
fix(error-mgmt): Add a few improvements to error management
jstejada Jan 19, 2017
6072bc7
bump k2
jstejada Jan 19, 2017
07286f2
fix(changelog): link to correct changelog
emorikawa Jan 19, 2017
73fe638
bump(changelog)
Jan 19, 2017
5e144cf
bump(version)
Jan 19, 2017
e6ed906
update(changelog)
jstejada Jan 19, 2017
3ce7fab
:art:
jstejada Jan 19, 2017
c268936
fix(auth) Increment timeout for requests that initiate imap connections
jstejada Jan 20, 2017
61314fb
fix(auth) Don't show error message when auth is successful
jstejada Jan 20, 2017
30412ce
bump(k2)
emorikawa Jan 20, 2017
88f8828
feat(build): build DMG
emorikawa Jan 20, 2017
3e85aa4
fix(crash): Fix error reporting for unhandled promise rejections
jstejada Jan 20, 2017
5640f26
bump(changelog)
emorikawa Jan 20, 2017
d1249b7
bump(version): 1.0.11
emorikawa Jan 20, 2017
eaa3059
Update CHANGELOG.md (#3194)
sachinag Jan 21, 2017
ed2235c
Normalized size of buttons in preferences (fixes #2753) (#3112)
paulxuca Jan 21, 2017
18c5a33
Fix typo (#3173)
rclai Jan 21, 2017
7682bd9
Add the GitHub community plugin (#3197)
ForbesLindesay Jan 21, 2017
1857283
fix(unindexModel): Don't re-persist unpersisted models
Jan 23, 2017
afb2b92
[thread-search] Background on-keypress search queries
Jan 21, 2017
3b202a1
bump(k2)
emorikawa Jan 23, 2017
0197ea7
[search-index] Limit search index size
Jan 19, 2017
1b722e5
build(notif) Remove appveyor notifs for now
jstejada Jan 23, 2017
b305f44
fix(sync) Make category syncback tasks save changes after imap success
jstejada Jan 24, 2017
11c15ab
fix(auth): Properly wait for acct to be inited before adding to sidebar
jstejada Jan 24, 2017
81ddbe9
feat(analytics): add analytics for change mail tasks
emorikawa Jan 24, 2017
43c0dc6
bump(version): 1.0.12
emorikawa Jan 24, 2017
fe5546d
bump(changelog)
flyingclimber Jan 24, 2017
d2e461f
feat(build) add `npm run local-ci`
emorikawa Jan 24, 2017
59d86d7
fix(build): add output log interval to prevent travis from dying
emorikawa Jan 24, 2017
84ec152
bump(changelog)
jstejada Jan 24, 2017
f8311a0
bump(k2)
jstejada Jan 24, 2017
d46ee21
bump(changelog)
emorikawa Jan 24, 2017
53a6df3
fix(updater): s/N1/Nylas Mail/
spang Jan 24, 2017
24abdaf
fix(auth) Increment IMAP auth timeout
jstejada Jan 24, 2017
1aa83cd
fix(auth) fix timeouts
jstejada Jan 24, 2017
107faab
:art: Fix to using imap-provider-settings package
jstejada Jan 25, 2017
cdf09bf
fix(unpersistModel) Add default value for `opts` param
Jan 25, 2017
72cd27f
fix(auth) Dont allow invalid form submission with Enter key
jstejada Jan 25, 2017
9a8567c
bump(k2)
jstejada Jan 25, 2017
b56d2b6
refactor(name): rename worker-sync package to deltas
emorikawa Jan 25, 2017
d7ed7ff
refactor(account): remove unused accont refresh methods
emorikawa Jan 25, 2017
2e59c86
bump(k2)
emorikawa Jan 25, 2017
3b372ca
bump(changelog): 1.0.13
emorikawa Jan 25, 2017
55fc90f
bump(version): 1.0.13
emorikawa Jan 25, 2017
af2139f
Add option to silence query plan debug output for individual queries
Jan 24, 2017
0a7a708
bump(k2)
jstejada Jan 25, 2017
2b6ed69
bump(changelog)
jstejada Jan 25, 2017
57cf917
bump(spellcheck) upgrade to 1.0.0
emorikawa Jan 25, 2017
a621392
bump(k2)
emorikawa Jan 25, 2017
e1c0e24
bump(version) 1.0.14
jstejada Jan 25, 2017
95e840c
bump(k2)
jstejada Jan 25, 2017
1f51d80
bump(k2)
emorikawa Jan 25, 2017
4cefe70
fix(specs): change spec scheduler back to setTimeout
emorikawa Jan 25, 2017
721f6da
Use meaningful names for helper processes
Jan 25, 2017
a79c5de
Don't register to receive IPC for hot windows
Jan 25, 2017
2390317
fix(onboarding) Allow users who only have custom imap to auth
jstejada Jan 25, 2017
0f101ea
bump(k2)
jstejada Jan 26, 2017
26c935f
bump(version) 1.0.15
jstejada Jan 26, 2017
bbc54ab
fix(plugins) Unbreak plugins support in Nylas Mail
jstejada Jan 26, 2017
62ec750
bump(k2)
jstejada Jan 26, 2017
fe94094
bump(k2)
jstejada Jan 26, 2017
86e4bbd
fix(tasks) Notify when actions on threads fail
jstejada Jan 26, 2017
b3e0aa2
bump(k2)
jstejada Jan 26, 2017
d62657d
[spellcheck] Fix spellcheck debouncing
Jan 26, 2017
83a28ae
bump(changelog): 1.0.16
emorikawa Jan 27, 2017
36f9dd9
bump(version): 1.0.16
emorikawa Jan 27, 2017
5048549
bump(k2)
jstejada Jan 27, 2017
96115c3
bump(changelog)
jstejada Jan 27, 2017
faf5e77
[search-index] Embiggen Thread and Contact indexes
Jan 26, 2017
4b35d32
bump(k2)
emorikawa Jan 27, 2017
dfe4b0f
bump(k2)
jstejada Jan 27, 2017
fc05938
bump(version) 1.0.17
jstejada Jan 27, 2017
0aa3668
bump(changelog)
jstejada Jan 27, 2017
c87a66a
fix(tasks) ChangeMailTask should depend on EnsureMessagesInSentFolder
jstejada Jan 27, 2017
c90c62a
bump(k2)
emorikawa Jan 27, 2017
c0ce77b
bump(k2)
emorikawa Jan 27, 2017
87d1683
bump(k2)
jstejada Jan 28, 2017
6ef4a6f
Update documentation with GitBook
grinich Jan 27, 2017
4984ba5
Merge branch 'master' into n1-next
grinich Jan 30, 2017
819e10e
Fix link to Flux diagram in Architecture.md (#3147)
oksas Jan 6, 2017
610751b
Normalized size of buttons in preferences (fixes #2753) (#3112)
paulxuca Jan 21, 2017
ab28a66
Fix typo (#3173)
rclai Jan 21, 2017
02f83e9
Add the GitHub community plugin (#3197)
ForbesLindesay Jan 21, 2017
90b89a2
Add built docs
grinich Jan 30, 2017
176cfcd
Update README.md
grinich Jan 30, 2017
c56b9de
bump(k2)
jstejada Jan 30, 2017
e6cc740
fix(rename): remove n1-next references & update changelog link
emorikawa Jan 30, 2017
28bffac
fix(rename): update nylas/N1 to nylas/nylas-mail Github references
emorikawa Jan 30, 2017
dc8c1c8
Update docs config
grinich Jan 30, 2017
065f54b
[perf] Fix CSS animation for ellipses in "Syncing your mailbox"
Jan 30, 2017
b078890
[composer] Fix autoclearing of participants field in composer
Jan 27, 2017
6af2799
[composer] Fix weird refocusing when plugins load
Jan 27, 2017
854a447
bump(changelog): 1.0.18
emorikawa Jan 30, 2017
c97e016
bump(version): 1.0.18
emorikawa Jan 30, 2017
7b3c4a2
fix(ci): add linux dependencies for keyboard-layout plugin build
emorikawa Jan 30, 2017
f10e388
bump(electron): bump electron to 1.4.15
emorikawa Jan 30, 2017
2170926
update(docs): Add note about Linux dependencies
Jan 31, 2017
6114e7b
bump(k2)
jstejada Jan 31, 2017
6d43680
[local-sync] Imrpove error handling in delta connections
jstejada Jan 31, 2017
f44ff52
Properly handle non-api errors in account delta conn
jstejada Jan 31, 2017
e09ada7
bump(k2)
emorikawa Feb 1, 2017
60ca623
[composer] s/console.warning/console.warn/
Feb 1, 2017
7d594d2
bump(k2)
emorikawa Feb 1, 2017
f2e11bc
bump(version): 1.0.19
emorikawa Feb 1, 2017
e8c1f35
bump(changelog)
emorikawa Feb 1, 2017
6dad8e7
bump(k2)
emorikawa Feb 1, 2017
2531f16
bump(k2)
emorikawa Feb 1, 2017
271dcb0
bump(version): 1.0.20
emorikawa Feb 1, 2017
ee3a655
fix(sync-status): Use sync progress from K2
spang Feb 1, 2017
a60816c
feat(config): move config to database
emorikawa Feb 1, 2017
2f2cd92
fix(SyncActivity): Add keys to ellipsis components
Feb 1, 2017
9c7d559
Revert "feat(config): move config to database"
emorikawa Feb 2, 2017
13b2488
feat(specs) Clean up local-sync database after each spec
jstejada Feb 2, 2017
71046c8
bump(k2)
emorikawa Feb 2, 2017
f195118
feat(db): extract db setup and don't send sync errors to config
emorikawa Feb 1, 2017
a89358e
[config] Refactor config to fail faster
Feb 2, 2017
0e6301f
[N1] Changes required for implementing snooze
khamidou Feb 2, 2017
29eeda1
bump(package): upgrade Raven
emorikawa Feb 3, 2017
29e9eac
fix(sync) Make sure we can correctly archive/delete/mark as spam
jstejada Feb 2, 2017
0146d52
bump(version) 1.0.21
jstejada Feb 3, 2017
9d69c9a
Update travis config
jstejada Feb 3, 2017
483aca9
bump(changelog)
jstejada Feb 3, 2017
00a5f57
Fix travis config
jstejada Feb 3, 2017
3c41ee9
Update README.md (#3255)
manicmarvin Feb 3, 2017
5dcf361
bump(appveyor): build stable branches
emorikawa Feb 3, 2017
00cfad9
Update CHANGELOG.md
flyingclimber Feb 3, 2017
c1ab037
update(changelog)
jstejada Feb 3, 2017
5a38305
fix(specs): Revive the ComposerView specs
Feb 3, 2017
3111c16
feat(usage): Add a FeatureUsageStore and move Identity to the DB
emorikawa Feb 3, 2017
f625825
bump(k2)
emorikawa Feb 3, 2017
a5730ab
bump k2
jstejada Feb 3, 2017
03d69f5
fix(identity): properly post to identity endpoint
emorikawa Feb 4, 2017
f14e363
Fix thread selection with `cmd` and `shift` keys in the thread list
jstejada Feb 3, 2017
b91131d
[thread-list] Convert list-tabular to JS, correctly use shouldCompUpdate
jstejada Feb 6, 2017
6a068ca
bump k2
jstejada Feb 7, 2017
5df03fa
[notification] Debounce new mail notification sound
Feb 6, 2017
d82113a
[snooze] s/expirationDate/expiration/g.
khamidou Feb 7, 2017
fbb97a3
bump(version) 1.0.22
jstejada Feb 7, 2017
9a0cf29
Update CHANGELOG.md
spang Feb 7, 2017
7ae236b
[account-store] Don't `getPassword` if we don't have to
Feb 7, 2017
7e793a4
[search-index] Fix slow UPDATE and DELETE FTS queries
Feb 7, 2017
878a2fe
feat(usage): add new feature usage modal
emorikawa Feb 7, 2017
9563947
Point to latest release in update notif
jstejada Feb 7, 2017
d61b8a0
fix(onboarding) Properly trim field values
jstejada Feb 7, 2017
24ea3bf
fix(onboarding) Actually trim email field value in form
jstejada Feb 8, 2017
c3d2cb0
Hide snooze popover if the plugin is disabled
khamidou Feb 8, 2017
a7c67ea
fix(snooze): put feature usage before waiting for task move
emorikawa Feb 8, 2017
45d1613
feat(config): dev version now used ~/.nylas-dev instead of ~/.nylas-mail
emorikawa Feb 8, 2017
c1fdeb0
feat(config): dev version now used ~/.nylas-dev instead of ~/.nylas-mail
emorikawa Feb 8, 2017
987c38e
[composer] Fix draft truncation due to error during _onDOMMutated
Feb 9, 2017
bbe0150
bump k2
jstejada Feb 9, 2017
52cd011
bump k2
jstejada Feb 9, 2017
1d219bb
bump(version) 1.0.23
jstejada Feb 9, 2017
e44aebc
fix(metrics) Report task perf metrics to mixpanel
jstejada Feb 9, 2017
7f2ca94
update gitignore
jstejada Feb 9, 2017
b70183a
bump(changelog)
jstejada Feb 9, 2017
5519755
:art: Fix unhandled api rejections/Prefer promises over `success` opt…
jstejada Feb 9, 2017
78e2a0f
bump k2
jstejada Feb 9, 2017
d89ef38
bump(version) 1.0.24
jstejada Feb 9, 2017
19160dc
update changelog
jstejada Feb 9, 2017
677b1bf
:art: s/N1/Nylas Mail/ in window hang/crash dialogs
spang Feb 9, 2017
a28a7da
fix(error): fix error reporter crashing with extra errors
emorikawa Feb 9, 2017
a0b314d
fix(spec): fix package manager spec
emorikawa Feb 9, 2017
d5d009c
fix(spec) Never report errors in spec mode
jstejada Feb 9, 2017
ed05e18
fix(specs) Fix AutoUpdateManager specs
jstejada Feb 9, 2017
528e092
fix(specs) Fix ClipboardService specs
jstejada Feb 9, 2017
f23ca7b
[keytar] Report errors when keytar fails to load passwords
Feb 9, 2017
074f581
fix(specs) fix specs logging erroneous error messages
emorikawa Feb 9, 2017
91f501b
fix(specs): fix more broken specs
emorikawa Feb 9, 2017
5437e77
fix(specs): fix more tests
emorikawa Feb 9, 2017
2082618
fix(specs) Fix tokenizingfield specs
jstejada Feb 9, 2017
b97037b
fix(specs) lock enzyme version
jstejada Feb 9, 2017
cfa84ce
fix(specs): fix util specs
emorikawa Feb 10, 2017
e0859cd
fix(build): re-add specs back into build process
emorikawa Feb 10, 2017
000e364
fix(specs) Fix spellchecker tests
jstejada Feb 10, 2017
1d8c150
fix(specs) Fix react warning
jstejada Feb 10, 2017
d838576
bump(version) 1.0.25
jstejada Feb 10, 2017
08b68c8
fix(api-error) Fix APIError constructor
jstejada Feb 10, 2017
cd23f32
[notifications] Fixup "Nylas is Offline" notification
Feb 10, 2017
fef0fac
[cleanup] Remove random option that's no longer used
Feb 9, 2017
2522bb6
bump(react) 15.4.2
jstejada Feb 10, 2017
e08ad9e
fix(specs) Synchronously render test reporting gui for better stack t…
jstejada Feb 10, 2017
7685e9c
fix(specs) Use shallow rendering
jstejada Feb 10, 2017
4045481
fix(specs) Fix Spellchecker tests
jstejada Feb 10, 2017
ba77219
fix(load): fix window load timing
emorikawa Feb 10, 2017
b999d50
fix(identity): remove the savePromise and optimistically update
emorikawa Feb 10, 2017
b125186
[files] Add retry with exponential backoff for file downloads in NM
Feb 10, 2017
f614a24
fix(specs): fix FeatureUsage spec
emorikawa Feb 10, 2017
8bd108e
fix(build/travis) Only run tests on mac
jstejada Feb 10, 2017
0e9635c
fix(build) Fix travis build script
jstejada Feb 10, 2017
0ca1ed6
Actually fix travis
jstejada Feb 10, 2017
afa1ae4
bump(k2)
emorikawa Feb 10, 2017
0858ca2
fix(tests): Allow the masterBefore/AfterEach functions to be async
Feb 10, 2017
995aafd
fix(n1-spec-runner): Make `fit` async too
Feb 10, 2017
2dd8a53
bump(changelog): 1.0.26
emorikawa Feb 10, 2017
167cb1a
bump(version): 1.0.26
emorikawa Feb 10, 2017
7ad07cf
bump(changelog): 1.0.26
emorikawa Feb 10, 2017
4035fa0
fix(specs) Fix FeatureUsageStore spec flakiness
jstejada Feb 11, 2017
bad9a06
fix(specs) :hocho: more side-effect flakiness
jstejada Feb 11, 2017
87fd478
fix(specs) Correctly set `configDirPath` when running tests
jstejada Feb 11, 2017
ca78872
fix(syncback-category) Return error when task fails
jstejada Feb 11, 2017
1b4fa6a
bump k2
jstejada Feb 11, 2017
3a33931
:art: s/N1/Nylas Mail/ in window-event-handler.coffee
spang Feb 13, 2017
68339ad
feat(specs): Add support for generating JUnit XML by passing --junit-…
spang Feb 10, 2017
46c0fa8
bump k2
jstejada Feb 13, 2017
ff5e0be
fix(offline-notif) Try to connect immediately upon window focus
jstejada Feb 13, 2017
3e4f008
fix(send): Correctly wait for send task to complete before succeeding!
jstejada Feb 11, 2017
85236c5
fix(send) Add better error checking when sending message
jstejada Feb 11, 2017
7e937c8
bump k2
jstejada Feb 13, 2017
83bea7c
fix(metadata): Fix some issues with processing metadata deltas
Feb 11, 2017
6c69ea4
fix(tests): Fix some tests and add tests for thread metadata
Feb 10, 2017
a2a518f
fix(accounts) Don't report error when removing accounts
jstejada Feb 13, 2017
5a56f21
fix(account) Properly keep tokens in sync between acct stores in diff…
jstejada Feb 14, 2017
cb0fc3b
Fix broken link (#3284)
Feb 14, 2017
c78d0cd
fix(db): wait for models to be setup before activating packages
emorikawa Feb 14, 2017
d9107e2
fix(spec): re-enable DatabaseStore specs
emorikawa Feb 14, 2017
ba3fce2
fix(delta): report error when delta gets invalid cursor
emorikawa Feb 14, 2017
00ac88b
bump(k2): adding accountId index
emorikawa Feb 14, 2017
0095054
[contact] Fixup Contact prefix/suffix removal for names
Feb 13, 2017
4d510f7
fix(delta): add backoff to delta error handling
emorikawa Feb 15, 2017
e2d3553
fix(offline-status): Temporarily remove offline status notification
jstejada Feb 15, 2017
062e987
bump(version): 1.0.27
emorikawa Feb 15, 2017
2267c89
fix(offline): Really remove offline notification
jstejada Feb 15, 2017
b87422a
bump(k2) latest master
jstejada Feb 15, 2017
55a83eb
bump K2
spang Feb 15, 2017
8842aa9
feat(backoff-scheduler): Add a backoff scheduler service
jstejada Feb 15, 2017
0c66c53
reafctor(scheduler): Move SearchIndexer -> SearchIndexScheduler
emorikawa Feb 15, 2017
5dd7e5d
bump(k2): SFDC
emorikawa Feb 15, 2017
7e25591
feat(offline) Re add offline status notification
jstejada Feb 15, 2017
01a5452
bump(k2)
jstejada Feb 15, 2017
c559c21
fix(exports) Add backoff schedulers
jstejada Feb 15, 2017
f29bbe5
bump(K2)
emorikawa Feb 15, 2017
726c6d9
[battery] Add BatteryStatusManager
Feb 16, 2017
1c5d392
bump(k2)
jstejada Feb 16, 2017
89f5a54
update(changelog)
jstejada Feb 16, 2017
4041e59
bump(version): 1.0.28
jstejada Feb 16, 2017
cd7e64b
:art:(backoff-scheduler) Add getters
jstejada Feb 16, 2017
47cc0dc
fix(spec): re-enable NylasEnv specs and fix duplicate rejection log
emorikawa Feb 16, 2017
427b8f7
fix(watchman): There's some stuff in build/ we don't want to ignore
spang Feb 16, 2017
57b4f57
fix(SFDC): fix React error in tokenizing text field
emorikawa Feb 16, 2017
5ec1d48
fix(linux-build): Change package name to Nylas Mail
spang Feb 16, 2017
51ecc4a
fix(cli): s/n1/nylas-mail/
spang Feb 16, 2017
c745ec4
fix(linux-build): Update rpm spec to use new package name
spang Feb 17, 2017
7890b92
update(changelog)
jstejada Feb 17, 2017
0a100dd
Update changelog
jstejada Feb 23, 2017
52452d6
Fix broken image url in README.md (#3349)
binhonglee Apr 12, 2017
1aa7b71
Add flex resizing for html eiting window
jryio Apr 14, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
11 changes: 0 additions & 11 deletions .arcconfig

This file was deleted.

3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./build/config/eslint.json"
}
14 changes: 0 additions & 14 deletions .gitattributes

This file was deleted.

38 changes: 34 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.arcconfig
.arclint
arclib
*.swp
*~
.DS_Store
Expand All @@ -9,8 +12,35 @@ node_modules
npm-debug.log
debug.log
/tags
/atom-shell/
docs/output
docs/includes
/electron/
/_docs_output
/junitxml

spec/fixtures/evil-files/
yoursway-create-dmg
build/resources/certs
/_site
/.sass-cache
.integration-test-config
.idea/
spec-saved-state.json

!spec/fixtures/packages/package-with-incompatible-native-module/node_modules

#emacs
*~
*#

/src/error-logger-extensions
/src/nylas-private-*
internal_packages/nylas-private-*
internal_packages/activity-list
internal_packages/composer-mail-merge
internal_packages/composer-scheduler
internal_packages/link-tracking
internal_packages/open-tracking
internal_packages/send-later
internal_packages/send-reminders
internal_packages/thread-sharing
internal_packages/local-sync
/dist
/dump.rdb
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/K2"]
path = src/K2
url = [email protected]:nylas/K2.git
1 change: 0 additions & 1 deletion .node-version

This file was deleted.

1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

17 changes: 0 additions & 17 deletions .pairs

This file was deleted.

1 change: 0 additions & 1 deletion .python-version

This file was deleted.

94 changes: 94 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
sudo: false

git:
submodules: false

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- clang
- fakeroot
- g++-4.8
- git
- libgnome-keyring-dev
- xvfb
- rpm
- libxext-dev
- libxtst-dev
- libxkbfile-dev

branches:
only:
- master
- ci-test
- /stable.*/
- /ci-build\/.*/

matrix:
include:
- os: linux
env: NODE_VERSION=6.9 CC=gcc-4.8 CXX=g++-4.8
- os: osx
env: NODE_VERSION=6.9 CC=clang CXX=clang++

before_install:
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${MIRROR}" = "false" ]; then
openssl aes-256-cbc -k "$DECRYPTION_PASSWORD" -in build/resources/ssh/nylas-n1-ci-ssh.openssl.enc -out nylas-n1-ci-ssh -d;
mv nylas-n1-ci-ssh ~/.ssh/id_rsa;
chmod 400 ~/.ssh/id_rsa;
ssh-keyscan github.com >> ~/.ssh/known_hosts;
git submodule update --init --recursive;
2>/dev/null 1>/dev/null openssl aes-256-cbc -K $encrypted_d583b56b822e_key -iv $encrypted_d583b56b822e_iv -in src/K2/packages/local-private/encrypted_certificates/travis/travis-files.tar.enc -out src/K2/packages/local-private/encrypted_certificates/travis/travis-files.tar -d;
mkdir build/resources/certs;
2>/dev/null 1>/dev/null tar xvf src/K2/packages/local-private/encrypted_certificates/travis/travis-files.tar --directory=build/resources/certs/;
2>/dev/null 1>/dev/null source build/resources/certs/set_unix_env.sh;
fi
- if [ "${MIRROR}" = "true" ]; then
export PUBLISH_BUILD=true;
git submodule update --init --recursive;
2>/dev/null 1>/dev/null openssl aes-256-cbc -K $encrypted_e6bb7e15b74d_key -iv $encrypted_e6bb7e15b74d_iv -in src/K2/packages/local-private/encrypted_certificates/travis/travis-files-mirror.tar.enc -out src/K2/packages/local-private/encrypted_certificates/travis/travis-files.tar -d;
mkdir build/resources/certs;
2>/dev/null 1>/dev/null tar xvf src/K2/packages/local-private/encrypted_certificates/travis/travis-files.tar --directory=build/resources/certs/;
2>/dev/null 1>/dev/null source build/resources/certs/set_unix_env.sh;
fi

install:
- echo $CC
- echo $CXX
- clang --version
- if [ "$CC" = "gcc-4.8" ]; then gcc-4.8 -v; else gcc -v; fi
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION

before_script:
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
fi

script:
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
script/bootstrap && script/grunt ci --stack --no-color;
else
script/bootstrap && npm test && script/grunt ci --stack --no-color;
fi

cache:
directories:
- node_modules
- apm/node_modules
- build/node_modules

# The NYLAS_GITHUB_OAUTH_TOKEN is overriden by build/resources/certs/set_unix_env.sh
env:
global:
- secure: O+XG3C/VnCfCVXTHudOQ6JMmBqrRHXh1j7jRwfQ3PYd27gm9BWNjvwlbWTLNcaar9gM00Pwi3rR8IujzJLlw3usZGWbJMLkz+aPYdOlbiDLhyMdIHwX4oI58d1eHx7m8Eun3qT3Y0VkO3blBNdWFWV4ebkfLZyygzXva4CDlSFtbeQYGy4ft76v7Au9uVlOUoV8f+juPx+0Jv+AtQmsY9Sf+6WbxrNaE9y2u2q1ks+XpjFn8Wt1f/xp/Vae0/MjJFpGIVfaUy+q7W8QQ0TyzSCM0eGtjxilS+BkGHjjvlLlMdCspRnZzpSJC+KkpEKLJrAPjR0DAfYMedWockEaIwGG8Onf90fXKG0nlvAg4WrWjnpr0q+V79zOU/yYD/kysLBYg6fYzv6uTvN7TzNaFkKaiQZvorI9P8w/wShGFHE4Y8JC5QU4CLI8q2qrkI38KKt3valIP4qxA/56aM0+D5roTecfh3Y40OcpqKZicpeNvuB1u2FmD2+oxLEb3MVnyfnVnDBP7Crp8/oLsIl/gGR/SVUEyLIimozugUySnCig1BEicygECvp6eRpEHryNrEvLKfxtppr3eWcRKQwnYwch4CaFwya0Lpc1dSA9NaOFQu0kR374s+fhqYgrkaCJevZd+ouKY+0Zt8gZ4CjJVhJ5YamwZAPG+obRd9G3xRM0=
- NYLAS_GITHUB_OAUTH_TOKEN=cb200be7c921f73a1c35930f6a4ac8758b271be0

notifications:
slack: nylas:Egem0aHuqMfkIlycPswxblzJ
13 changes: 13 additions & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"ignore_dirs": [
"build/node_modules",
"apm/node_modules",
"node_modules",
"src/K2/node_modules",
"src/K2/packages/local-sync/node_modules",
"src/K2/packages/isomorphic-core/node_modules",
"src/K2/packages/cloud-api/node_modules",
"src/K2/packages/cloud-workers/node_modules",
"src/K2/packages/cloud-core/node_modules"
]
}
Loading