Skip to content

Commit 3c9aef5

Browse files
committed
install mongodb from fastdl.ongodb.org
1 parent f76770f commit 3c9aef5

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ elixir:
1111
- 1.5
1212

1313
before_install:
14-
- . $HOME/.nvm/nvm.sh
15-
- nvm install stable
16-
- nvm use stable
17-
- npm install -g mongodb-version-manager@1.0.6
18-
- m use $MONGOVERSION
14+
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGOVERSION}.tgz
15+
- tar xzf mongodb-linux-x86_64-${MONGOVERSION}.tgz
16+
- ${PWD}/mongodb-linux-x86_64-${MONGOVERSION}/bin/mongod --version
1917
- mkdir db
2018

2119
install:
@@ -25,9 +23,7 @@ install:
2523
- (cd examples/simple; mix deps.get)
2624

2725
before_script:
28-
- sudo service mongodb stop
29-
- export PATH=$(m path):$PATH
30-
- mongod --fork --logpath mongo.log --dbpath db
26+
- ${PWD}/mongodb-linux-x86_64-${MONGOVERSION}/bin/mongod --dbpath db --logpath mongodb.log --fork
3127

3228
script:
3329
- mix test

0 commit comments

Comments
 (0)