Skip to content

Commit c02064b

Browse files
committed
extracting the mongodb tar archive
1 parent 5715307 commit c02064b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ elixir:
77

88
install:
99
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB}.tgz
10-
- tar xzf mongodb-linux-x86_64-${MONGODB}.tgz
11-
- ${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/mongod --version
10+
- tar xzf mongodb-linux-x86_64-${MONGODB}.tgz -C ${PWD}/mongodb
11+
- ${PWD}/mongodb/bin/mongod --version
1212

1313
before_script:
14-
- export PATH=${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/:$PATH
14+
- export PATH=${PWD}/mongodb/bin/:$PATH
1515
- bash ./start_mongo.bash
16-
- mkdir ${PWD}/mongodb-linux-x86_64-${MONGODB}/data
17-
- ${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/mongod --dbpath ${PWD}/mongodb-linux-x86_64-${MONGODB}/data --logpath ${PWD}/mongodb-linux-x86_64-${MONGODB}/mongodb.log --fork
16+
- mkdir ${PWD}/mongodb/data
17+
- ${PWD}/mongodb/bin/mongod --dbpath ${PWD}/mongodb/data --logpath ${PWD}/mongodb/mongodb.log --fork
1818

1919
script:
2020
- mix local.hex --force

0 commit comments

Comments
 (0)