This commit is contained in:
Yavor Georgiev 2017-09-26 15:18:14 +02:00
parent f6732c4b58
commit c3b56c1183
No known key found for this signature in database
GPG Key ID: 83FC145DA0CCA9C3
2 changed files with 4 additions and 6 deletions

4
Jenkinsfile vendored
View File

@ -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'

View File

@ -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');