diff --git a/.travis.yml b/.travis.yml index 9e7d05c6f2a1..44618140f36a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,25 +47,25 @@ before_script: echo " replSetName: \"rs0\"" | sudo tee -a /etc/mongod.conf - sudo service mongod restart - mkdir /tmp/build -- travis_retry npm install +- travis_retry meteor npm install - |- mongo --eval 'rs.initiate({_id:"rs0", members: [{"_id":1, "host":"localhost:27017"}]})' -- npm run lint -- npm run stylelint +- meteor npm run lint +- meteor npm run stylelint - travis_retry meteor build --headless /tmp/build - mkdir /tmp/build-test - tar -xf /tmp/build/Rocket.Chat.tar.gz -C /tmp/build-test/ - cd /tmp/build-test/bundle/programs/server -- npm install -g node-gyp node-pre-gyp -- npm install +- meteor npm install -g node-gyp node-pre-gyp +- meteor npm install - cd - - mongo --eval 'rs.status()' - mongo meteor --eval 'db.getCollectionNames()' script: -- travis_retry npm test +- travis_retry meteor npm test - mongo meteor --eval 'db.dropDatabase()' - unset MONGO_OPLOG_URL -- travis_retry npm test +- travis_retry meteor npm test before_deploy: - source ".travis/setartname.sh" - source ".travis/setdeploydir.sh"