File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 28
28
global :
29
29
- COVERAGE_OPTION='./node_modules/.bin/nyc'
30
30
matrix :
31
- - MONGODB_VERSION=3.0.8
32
- - MONGODB_VERSION=3.2.6
31
+ -
33
32
- PARSE_SERVER_TEST_DB=postgres
34
33
- PARSE_SERVER_TEST_CACHE=redis
35
34
before_script :
Original file line number Diff line number Diff line change @@ -47,15 +47,11 @@ if (process.env.PARSE_SERVER_TEST_DB === 'postgres') {
47
47
uri : process . env . PARSE_SERVER_TEST_DATABASE_URI || postgresURI ,
48
48
collectionPrefix : 'test_' ,
49
49
} ) ;
50
- } else {
51
- startDB = function ( done ) {
52
- require ( 'mongodb-runner/mocha/before' ) . bind ( {
53
- timeout : ( ) => { } ,
54
- slow : ( ) => { }
55
- } ) ( ( ) => {
56
- setTimeout ( done , 500 ) ;
57
- } ) ;
58
- }
50
+ } else if ( process . env . TRAVIS != 'true' ) {
51
+ startDB = require ( 'mongodb-runner/mocha/before' ) . bind ( {
52
+ timeout : ( ) => { } ,
53
+ slow : ( ) => { }
54
+ } )
59
55
stopDB = require ( 'mongodb-runner/mocha/after' ) ;
60
56
databaseAdapter = new MongoStorageAdapter ( {
61
57
uri : mongoURI ,
You can’t perform that action at this time.
0 commit comments