Skip to content

Commit

Permalink
chore: remove problematic mongoose-long dep and use mongodb 3.4 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jan 8, 2020
1 parent 91f95da commit 4a55040
Show file tree
Hide file tree
Showing 4 changed files with 936 additions and 1,047 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ node_js:
- "0.10"
- "iojs"
before_script:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.11.tgz
- tar -zxvf mongodb-linux-x86_64-2.6.11.tgz
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.4.23.tgz
- tar -zxvf mongodb-linux-x86_64-3.4.23.tgz
- mkdir -p ./data/db/27017
- mkdir -p ./data/db/27000
- printf "\n--timeout 8000" >> ./test/mocha.opts
- ./mongodb-linux-x86_64-2.6.11/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017
- export PATH=`pwd`/mongodb-linux-x86_64-2.6.11/bin/:$PATH
- ./mongodb-linux-x86_64-3.4.23/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017
- export PATH=`pwd`/mongodb-linux-x86_64-3.4.23/bin/:$PATH
- sleep 3
script:
- npm test
Expand Down
Loading

0 comments on commit 4a55040

Please sign in to comment.