From 07af166e720aeda14e5f9f9ddbb9609764bdb77e Mon Sep 17 00:00:00 2001 From: Diego Sampaio Date: Wed, 1 Nov 2017 13:25:25 -0200 Subject: [PATCH] Fix build --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b273a174da23..0a6de2a114a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,7 @@ before_script: echo " replSetName: \"rs0\"" | sudo tee -a /etc/mongod.conf - sudo service mongod restart - mkdir /tmp/build +- meteor --version - travis_retry meteor npm install - |- mongo --eval 'rs.initiate({_id:"rs0", members: [{"_id":1, "host":"localhost:27017"}]})' @@ -57,16 +58,15 @@ before_script: - mkdir /tmp/build-test - tar -xf /tmp/build/Rocket.Chat.tar.gz -C /tmp/build-test/ - cd /tmp/build-test/bundle/programs/server -- meteor npm install -g node-gyp node-pre-gyp -- meteor npm install +- npm install - cd - - mongo --eval 'rs.status()' - mongo meteor --eval 'db.getCollectionNames()' script: -- travis_retry meteor npm test +- travis_retry npm test - mongo meteor --eval 'db.dropDatabase()' - unset MONGO_OPLOG_URL -- travis_retry meteor npm test +- travis_retry npm test before_deploy: - source ".travis/setartname.sh" - source ".travis/setdeploydir.sh"