Commit Graph

192 Commits

Author SHA1 Message Date
Ari Lazier 8bd5ee8be7 Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests 2016-11-10 10:50:51 -08:00
Adam Lebsack 58e2032998 Merge pull request #649 from realm/rt/fix-node-linux
Fix node tests for linux
2016-11-10 19:50:36 +01:00
Ari Lazier a47d6b12c0 fix for reset script 2016-11-10 10:50:33 -08:00
Ari Lazier 5b3825092d updated simulator script 2016-11-10 10:32:59 -08:00
Adam Lebsack 6b8fa6bf16 Do not run docker interactively 2016-11-10 19:28:39 +01:00
Ari Lazier 97b5101c5e no xcpretty 2016-11-10 10:19:46 -08:00
Adam Lebsack 5080c54b23 Added docker-test.sh wrapper for running linux tests 2016-11-10 19:13:52 +01:00
Ari Lazier 313ca1c3cf improved ci script 2016-11-10 10:06:48 -08:00
Radu Tutueanu 54e30cdd0b Merge remote-tracking branch 'origin/al-sync-user-tests' into rt/fix-node-linux 2016-11-10 16:09:24 +01:00
Ari Lazier e07cbf8549 Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests 2016-11-10 06:46:30 -08:00
Ari Lazier e954184d68 use xcpretty 2016-11-10 06:46:21 -08:00
Radu Tutueanu 8ad43b0505 Do not use sync on linux 2016-11-10 14:42:58 +01:00
Radu Tutueanu b38c428e82 Use dependencies.list
Fixes  #644
2016-11-10 13:53:28 +01:00
Ari Lazier dff6c833ff hack to install yarn on ci 2016-11-10 04:28:58 -08:00
Ari Lazier 4fc874f35c some small fixes for download-core script 2016-11-09 15:01:42 -08:00
Søren Vind f8eba17c48 Make it possible to run test suite with and without sync 2016-11-09 12:50:19 -08:00
Radu Tutueanu 9833b8e490 Build macOS with sync by default 2016-11-09 19:07:26 +01:00
Radu Tutueanu b8c5bafd24 Fix untarring core 2016-11-09 17:51:19 +01:00
Radu Tutueanu 397dbbd2e5 Download node 2016-11-09 17:44:37 +01:00
Radu Tutueanu c9579dafd1 Enable build with sync when running tests 2016-11-09 17:28:47 +01:00
Radu Tutueanu c995253202 Fix building with sync 2016-11-09 17:25:25 +01:00
Søren Vind d5cd3d7266 Download and start ROS before running tests + Run all tests + Run using node4.4.7 2016-11-08 16:47:20 -08:00
Ari Lazier fde1c5d00d start implementing sync tests 2016-11-08 08:59:30 -08:00
Ari Lazier 5a49dbc325 make sync work with RealmJS tests 2016-10-27 13:49:41 -07:00
Ari Lazier 60d9da1b44 remove unneded server argument for adminUser, update care and sync dependencies 2016-10-26 17:20:34 -07:00
Ari Lazier d76ec0934e revert download core changes 2016-10-25 09:37:08 -07:00
Yavor Georgiev a37fe03e20 bring back node ci 2016-10-11 22:30:39 +02:00
Yavor Georgiev 5623653477 prepare for the glorious future 2016-10-08 19:36:03 +02:00
Ari Lazier 857369f5a4 download core and sync and get the test app running on sync 2016-10-04 17:27:09 -07:00
Ari Lazier 9d0df0de3d Sync and fine grained notifications 2016-10-04 15:07:14 -07:00
Ari Lazier 1ea107258f don't run npm install multiple times 2016-08-19 10:07:15 -07:00
Mark Rowe 5b888ed91d Update to core 1.5.0 and the latest version of the object store. 2016-08-15 11:29:58 -07:00
Yavor Georgiev fb7911e3fa add support for the jest runner’s node environment 2016-08-10 15:50:37 +02:00
Yavor Georgiev 1a98077794 Add tests to ensure realm-js is usable inside mocha and ava tests 2016-08-10 15:47:55 +02:00
Ari Lazier 1b1c6b9cbc wipe simulators between runs 2016-08-04 11:12:46 -07:00
Thomas Goyne 6a2e86cf93 Use the correct extension for the non-node core download 2016-07-18 15:09:44 -07:00
Thomas Goyne 88b3be3e30 Update to core 1.4.0 2016-07-18 14:55:38 -07:00
Scott Kyle e0ff68059b Remove rnpm post install script
This will mean we only support rnpm 1.9.0 and above.
2016-06-22 14:25:35 -04:00
Scott Kyle ae549aa32e Default to /tmp for TMPDIR
Even though it's UNIX standard, it appears that TMPDIR is missing on Linux!
2016-06-17 13:17:01 -07:00
Scott Kyle 928ab03ce4 Update to download and use core build for Node
This will need to be updated again with a newer version since 1.1.2 build was created on CI but is not actually on static.realm.io until a new release is made.
2016-06-17 11:19:19 -07:00
Scott Kyle 12517a0d1e Add ability to run Node tests on Linux
It uses the Android ExternalCommitHelper implementation.

The Dockerfile requires that you have a static library build of core for Linux with PIC enabled.
2016-06-17 02:38:33 -07:00
Scott Kyle fa4a281f19 Update core to 1.1.0 2016-06-14 17:42:49 -07:00
Scott Kyle 4e457526bb Merge branch 'sk-node-xcode'
* sk-node-xcode:
  Consolidate RealmNode.xcodeproj into RealmJS.xcodeproj
2016-05-27 13:20:01 -07:00
Scott Kyle 118567ca4e [0.13.2] Bump version 2016-05-26 13:35:29 -07:00
Scott Kyle 858d67125d Consolidate RealmNode.xcodeproj into RealmJS.xcodeproj
Moved it up one level since it references the whole source tree inside the src/ directory. Added the functionality to run Node tests from Xcode on the existing RealmNode target.
2016-05-19 14:50:27 -07:00
Scott Kyle 5bc72ab2cf Make Date testing work for Node 2016-05-13 16:30:57 -07:00
Ari Lazier 919d8f7da5 bump version 2016-05-09 15:35:36 -07:00
Ari Lazier a960d88893 add project for building/debugging node 2016-05-09 15:16:37 -07:00
Ari Lazier 047c414e59 update download core script 2016-05-05 13:15:28 -07:00
Scott Kyle c8e7ddc3af [0.12.0-rc] Bump version 2016-05-03 12:06:15 -07:00
Scott Kyle 7abdacdf06 Make sure core is downloaded for node tests 2016-04-19 17:10:14 -07:00
Scott Kyle 648748cd24 Add node_modules to PATH in test script 2016-04-19 16:57:52 -07:00
Scott Kyle d5aad959ce Run `npm install` for node tests 2016-04-19 16:40:48 -07:00
Scott Kyle 2a58862070 Add test script for Node 2016-04-19 14:10:10 -07:00
Scott Kyle bbc0ed9d62 Update changelog script 2016-03-29 15:26:45 -07:00
Scott Kyle 4b6d59f949 Update publish script for new Xcode project location 2016-03-23 16:08:02 -07:00
Scott Kyle daa2948028 Move RealmJS.xcodeproj to be under src/ios 2016-03-23 13:39:12 -07:00
Scott Kyle d34ce0055d Fix tests 2016-03-23 13:20:05 -07:00
Scott Kyle 42485045f3 Support linking project with rnpm
The postlink script takes care of linking in libc++ and libz. So now the only setup instructions will be: `rnpm link realm`.

Resolves #226
2016-03-23 10:51:57 -07:00
Ari Lazier b9475ad772 pr feedback 2016-03-21 11:46:34 -07:00
Ari Lazier 48199f6c08 share core version 2016-03-18 19:53:52 -07:00
Ari Lazier 9999120ba6 Use core 0.97.1 2016-03-18 17:44:02 -07:00
Ari Lazier b2e4d93732 support for indexed properties 2016-03-18 16:50:55 -07:00
Scott Kyle f5039faf40 Update test script to npm install root modules 2016-03-16 17:49:20 -07:00
Ari Lazier f723c7b303 only test jsdocs release 2016-03-16 17:46:35 -07:00
Ari Lazier beefcd4835 test debug and release for object-store, don't try to reinstall cmake 2016-03-16 17:46:35 -07:00
Scott Kyle 5d872d6233 Remove accidentally included files in npm package
The 0.11.0-rc was bloated by lots of unnecessary build products and other miscellaneous files.
2016-03-16 16:48:04 -07:00
Scott Kyle 72675f6658 Run publish script tests in Debug and Release
Forgot the Release tests didn't cover Chrome debug mode.
2016-03-16 15:18:16 -07:00
Scott Kyle 395f241f72 Run publish script tests in Release mode
Realized it should have done this after publishing 0.11.0-rc
2016-03-16 13:44:08 -07:00
Scott Kyle e1e567a1d5 Clear watchman cache before each test 2016-03-16 13:30:19 -07:00
Scott Kyle 4d6adb9835 Support publishing prerelease version tags 2016-03-16 13:12:55 -07:00
Scott Kyle 924abe2092 New script to safely publish to npm 2016-03-16 13:01:38 -07:00
Scott Kyle 401b501aab Explicitly opt-in to building Android module
Fixes #277
2016-03-16 13:01:38 -07:00
Scott Kyle 27073a9e66 Properly configure ESLint for syntax checking
Added a test case to run on CI as well.
2016-03-16 13:01:38 -07:00
Ari Lazier 4302f6fe85 changelog 2016-03-10 16:15:54 -08:00
Ari Lazier 5e3c4300c0 Merge pull request #312 from realm/al-download-core
Don't download/unpack core unnecessarily
2016-03-10 16:08:31 -08:00
Scott Kyle eac5f570b6 Logic and style fixes for download-core script 2016-03-09 16:10:09 -08:00
Ari Lazier a9e9710f82 fix spacing 2016-03-06 08:22:29 -08:00
Ari Lazier 4e773d97fe don't download/unpack core unnecessarily 2016-03-06 08:20:04 -08:00
Ari Lazier fd9501458d add object store target to test script 2016-03-03 14:58:05 -08:00
Ari Lazier 548d700ffe object store fixes for js binding 2016-03-03 14:45:44 -08:00
Scott Kyle 4647ab4543 Remove installArchives for Android from test script
This is no longer needed
2016-02-19 02:53:47 -08:00
Scott Kyle d81ce5c49a Update test script to always use nvm if possible 2016-02-19 02:53:10 -08:00
Scott Kyle 600a8909d3 Install all modules before running packager for tests 2016-02-19 02:28:59 -08:00
Scott Kyle 5b2e7b37af Add script to update version in package.json and iOS
This uses agvtool to update the CURRENT_PROJECT_VERSION and DYLIB_CURRENT_VERSION project variables. The Info.plist files have been updated to propagate this value.
2016-02-18 13:58:12 -08:00
Ari Lazier d9abcf0bc2 Merge pull request #199 from realm/sk-listview
Efficient React ListView for Realm collections
2016-02-17 13:13:33 -08:00
Scott Kyle c01c0faa7b Update test script to actually test ReactExample 2016-02-16 00:37:10 -08:00
Scott Kyle a2dca06fe1 Add simple test for generating API docs 2016-02-12 16:57:13 -08:00
Scott Kyle 5f7000d892 Skip building Android module under Xcode 2016-02-11 16:44:22 -08:00
Scott Kyle 69f0241adb Skip building Android module for iOS tests 2016-02-11 13:24:21 -08:00
Nabil Hachicha 7afdbba2ed adding a 'publishAndroid' task to generate the AAR with prebuilt .so files 2016-02-10 16:11:36 -08:00
Ari Lazier 53946d3952 script fix 2016-02-08 11:48:38 -08:00
Ari Lazier e8d472a2e8 script bug fix 2016-02-08 11:30:40 -08:00
Ari Lazier c5a7e4ac30 don't run debug for androi since it isn't hooked up 2016-02-08 11:16:18 -08:00
Scott Kyle 1c1b2ec4ab Add postinstall script to create symlinks
This includes a top-level "android" symlink that should allow `react-native link` command to work.
2016-02-08 03:26:27 -08:00
Scott Kyle 38868fe657 Use start_packager function for Android tests 2016-02-08 03:09:22 -08:00
Nabil Hachicha 97345e62a9 unlocking device after the app is installed 2016-02-03 19:00:21 +00:00
Nabil Hachicha e5ff3683ee starting packager in bg process 2016-02-03 16:43:35 +00:00
Nabil Hachicha 7f0eea2636 reverting start packer 2016-02-03 16:26:35 +00:00
Nabil Hachicha 69edbcbfb6 start packager only once 2016-02-03 16:06:26 +00:00