testing
This commit is contained in:
parent
f6732c4b58
commit
c3b56c1183
|
@ -193,7 +193,9 @@ def doWindowsBuild() {
|
||||||
node('windows && nodejs') {
|
node('windows && nodejs') {
|
||||||
unstash 'source'
|
unstash 'source'
|
||||||
try {
|
try {
|
||||||
bat 'npm install --build-from-source=realm'
|
sshagent(['realm-ci-ssh']) {
|
||||||
|
bat 'npm install --build-from-source=realm --realm_enable_sync'
|
||||||
|
}
|
||||||
dir('tests') {
|
dir('tests') {
|
||||||
bat 'npm install'
|
bat 'npm install'
|
||||||
bat 'npm run test'
|
bat 'npm run test'
|
||||||
|
|
|
@ -31,14 +31,10 @@ var TESTS = {
|
||||||
ResultsTests: require('./results-tests'),
|
ResultsTests: require('./results-tests'),
|
||||||
QueryTests: require('./query-tests'),
|
QueryTests: require('./query-tests'),
|
||||||
MigrationTests: require('./migration-tests'),
|
MigrationTests: require('./migration-tests'),
|
||||||
|
EncryptionTests: require('./encryption-tests'),
|
||||||
// GarbageCollectionTests: require('./garbage-collection'),
|
// GarbageCollectionTests: require('./garbage-collection'),
|
||||||
};
|
};
|
||||||
|
|
||||||
// encryption is not supported on windows
|
|
||||||
if (!(typeof process === 'object' && process.platform === 'win32')) {
|
|
||||||
TESTS.EncryptionTests = require('./encryption-tests');
|
|
||||||
}
|
|
||||||
|
|
||||||
// If sync is enabled, run the sync tests
|
// If sync is enabled, run the sync tests
|
||||||
if (global.enableSyncTests) {
|
if (global.enableSyncTests) {
|
||||||
TESTS.UserTests = require('./user-tests');
|
TESTS.UserTests = require('./user-tests');
|
||||||
|
|
Loading…
Reference in New Issue