Meteor + CodeShip + Modulus

北城余情 提交于 2019-12-04 15:43:16

According to the Velocity readme you should use this command: meteor --test --release velocity:METEOR@1.1.0.3_1. I did manage to get it work using the following setup commands:

nvm install 0.10.30
nvm use 0.10.30
curl -o meteor_install_script.sh https://install.meteor.com/
chmod +x meteor_install_script.sh
sed -i "s/type sudo >\/dev\/null 2>&1/\ false 
/g"meteor_install_script.sh
./meteor_install_script.sh
export PATH=$PATH:~/.meteor/
meteor --version

and this test command (replacing the with the path to the Meteor app directory. In this case sanjo:jasmine is required, but if you use another tester, you might need to add the related package. The velocity:html-reporter package is overkill for this purpose, but it does works, the console reporter should be enough, but I didn't test it):

cd ~/src/bitbucket.org/<path>/ && 
meteor add sanjo:jasmine velocity:html-reporter && 
meteor --test --release velocity:METEOR@1.1.0.3_1
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!