Skip to content

Commit 9047fac

Browse files
committed
proper versions
1 parent b07b5ce commit 9047fac

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ env:
2828
global:
2929
- COVERAGE_OPTION='./node_modules/.bin/nyc'
3030
matrix:
31-
- MONGODB_VERSION=3.2.6
31+
- MONGODB_VERSION=3.2.13
32+
- MONGODB_VERSION=3.4.4
3233
- PARSE_SERVER_TEST_DB=postgres
3334
- PARSE_SERVER_TEST_CACHE=redis
3435
before_script:
@@ -44,7 +45,7 @@ jobs:
4445
include:
4546
# release on github latest branch
4647
- stage: release
47-
node_js: '6.1'
48+
node_js: '6.10'
4849
env: RELEASE=github-latest
4950
before_script: skip
5051
after_script: skip
@@ -60,7 +61,7 @@ jobs:
6061
before_script: skip
6162
after_script: skip
6263
script: skip
63-
node_js: '6.1'
64+
node_js: '6.10'
6465
env: RELEASE=npm
6566
deploy:
6667
- provider: npm

spec/helper.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,11 @@ if (process.env.PARSE_SERVER_TEST_DB === 'postgres') {
4848
collectionPrefix: 'test_',
4949
});
5050
} else {
51-
if (process.env.TRAVIS != 'true') {
52-
startDB = require('mongodb-runner/mocha/before').bind({
53-
timeout: () => {},
54-
slow: () => {}
55-
})
56-
stopDB = require('mongodb-runner/mocha/after');
57-
}
51+
startDB = require('mongodb-runner/mocha/before').bind({
52+
timeout: () => {},
53+
slow: () => {}
54+
})
55+
stopDB = require('mongodb-runner/mocha/after');
5856
databaseAdapter = new MongoStorageAdapter({
5957
uri: mongoURI,
6058
collectionPrefix: 'test_',

0 commit comments

Comments
 (0)