Emanuele Zattin
c7a7d1228b
Make shellcheck happy about test.sh
2017-01-02 13:35:45 +01:00
Karl Kuehn
40b3b0d6e7
improve resetting the iOS simulator ( #710 )
...
Reworks how the simulator is handled to ensure that we are using a single targeted simulator platform (e.g.: iOS 9 on iPhone 5s), and that the Simulator is in good shape to handle that.
2016-12-22 10:02:15 -08:00
Nabil Hachicha
b9706b1e80
Nh/fixes 740 ( #743 )
...
* Fix Android testing CI job, we don't use the packager since we build the Release bundle
* Test run on Docker-cph-01 or Docker-cph-02
2016-12-20 19:01:45 +00:00
Radu Tutueanu
50d8a55d3f
Use the KILL signal when killing the server
2016-12-07 13:28:05 +01:00
Adam Lebsack
88e840f315
Merge remote-tracking branch 'origin/master' into ajl/jenkinsfile
2016-11-25 11:33:48 +01:00
Ari Lazier
cdcefa5cfa
use newer node version
2016-11-22 07:07:52 -08:00
Adam Lebsack
014191a663
Added jenkinsfile
2016-11-22 10:32:35 +01:00
Karl Kuehn
8d75898fe5
better report errors in test/build
...
fix for error visibility from #639
2016-11-21 16:48:03 -08:00
Karl Kuehn
d5aaab1308
fix case where xcpretty is not installed
2016-11-18 14:00:30 -08:00
Ari Lazier
ab7061aa29
undo test.sh change
2016-11-15 11:22:15 -08:00
Ari Lazier
038a025b81
[0.15.0] Bump version
2016-11-15 11:10:07 -08:00
Ari Lazier
fabaf5e819
Merge pull request #653 from realm/nh/update_android
...
Nh/update android
2016-11-15 10:06:20 -08:00
Ari Lazier
ca3fb62c59
ci build fixes for android
2016-11-15 05:08:26 -08:00
Radu Tutueanu
ca0fd78cee
Do not build node with sync by default
2016-11-15 13:49:41 +01:00
Ari Lazier
15bb3014b9
example fixes
2016-11-11 18:23:44 -08:00
Ari Lazier
d9398a0bb9
restart simulators
2016-11-11 12:32:20 -08:00
Ari Lazier
7683d1185a
rerun tests on failure
2016-11-11 11:31:00 -08:00
Ari Lazier
588fc50e9f
try to build then test
2016-11-11 11:24:35 -08:00
Ari Lazier
08ffc3bf15
ccache support
2016-11-10 23:55:26 -08:00
Ari Lazier
81402f890b
use yarn and fix for test app package.json
2016-11-10 23:11:31 -08:00
Ari Lazier
aeea153a06
don't reset simulators
2016-11-10 11:44:57 -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
5b3825092d
updated simulator script
2016-11-10 10:32:59 -08:00
Ari Lazier
97b5101c5e
no xcpretty
2016-11-10 10:19:46 -08: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
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
Ari Lazier
dff6c833ff
hack to install yarn on ci
2016-11-10 04:28:58 -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
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
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
Yavor Georgiev
a37fe03e20
bring back node ci
2016-10-11 22:30:39 +02: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
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
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
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
a960d88893
add project for building/debugging node
2016-05-09 15:16:37 -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
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
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
e1e567a1d5
Clear watchman cache before each test
2016-03-16 13:30:19 -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
fd9501458d
add object store target to test script
2016-03-03 14:58:05 -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
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
69f0241adb
Skip building Android module for iOS tests
2016-02-11 13:24:21 -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
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
Scott Kyle
bdc20d5263
Fix CI test script for Android
...
This also makes it run successfully on a Mac.
2016-02-02 14:52:24 -08:00
Scott Kyle
bcc53c089f
Cleanup test script
...
This should make it cleanup artifacts more reliably, and gives the script a consistent style.
2016-01-28 00:25:52 -08:00
Scott Kyle
687307ccfa
Respect shebang inside shell scripts
2016-01-27 12:34:24 -08:00
Nabil Hachicha
6320f478c2
fixing script echo
2016-01-26 21:10:23 +00:00
Nabil Hachicha
9b0d389ea1
fixing adb path
2016-01-26 21:05:37 +00:00
Nabil Hachicha
56aa718cee
fixing nvm
2016-01-26 20:48:47 +00:00
Nabil Hachicha
5cd08aa2ac
using nvm
2016-01-26 20:38:42 +00:00
Nabil Hachicha
18cdeaedd5
update test script
2016-01-26 20:23:26 +00:00
Ari Lazier
ba2f6e6f74
run nvm
2016-01-22 16:28:01 -08:00
Nabil Hachicha
0cadc72d28
adding execution right to aapt
2016-01-23 00:09:14 +00:00
Nabil Hachicha
8858cbb302
remove update SDK script
2016-01-22 23:54:17 +00:00
Nabil Hachicha
ec5e5a5991
remove previous patched deps
2016-01-22 23:50:40 +00:00
Nabil Hachicha
d77a617fc9
Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example
2016-01-22 23:42:47 +00:00
Nabil Hachicha
028325d97f
add patched dependency for react native
2016-01-22 23:42:28 +00:00
Ari Lazier
40c02b5cbd
Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example
2016-01-22 15:27:21 -08:00
Ari Lazier
01c3d80651
merge master
2016-01-22 15:27:17 -08:00
Nabil Hachicha
c136e49bd7
Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example
2016-01-22 23:24:08 +00:00
Nabil Hachicha
6565f14560
updating sdk tool
2016-01-22 23:23:27 +00:00
Ari Lazier
3641260f08
don't fail if there are no child processes
2016-01-22 15:07:17 -08:00
Ari Lazier
7c8b252969
kill child processes
2016-01-22 15:03:00 -08:00
Ari Lazier
9ac642c7f3
kill adb after running tests
2016-01-22 14:48:40 -08:00
Ari Lazier
e94017d039
script fix
2016-01-22 13:32:56 -08:00
Ari Lazier
d758623f21
don't execute ios stuff on linux
2016-01-22 13:30:16 -08:00
Ari Lazier
077d741a1f
test script
2016-01-22 13:26:37 -08:00
Ari Lazier
70eb615668
remove -q option from grep
2016-01-22 13:18:07 -08:00
Ari Lazier
15fdb6d922
clear log
2016-01-22 12:19:47 -08:00
Ari Lazier
2c0a92aa63
ci script
2016-01-22 12:15:38 -08:00
Scott Kyle
804a980d93
Update ReactExample iOS project to latest template
...
It now will bundle the JS so it can be run on device.
2016-01-15 01:51:59 -08:00