有人能推荐一个很好的安装脚本来在通过测试后部署到Modulus吗?
我现在用的是:
nvm install 0.10.28
nvm use 0.10.28
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这基本上就是我在interwebz周围复制和粘贴的东西,我不知道我在做什么。
最后,我的测试管道是:
meteor --testCodeShip日志的输出:
I20150515-13:34:16.005(0)? [velocity] mocha is starting a mirror at http://localhost:44995/.
I20150515-13:34:16.006(0)? [velocity] This takes a few minutes the first time.
I20150515-13:34:16.006(0)? [velocity] You can see the mirror logs at: tail -f /home/rof/src/bitbucket.org/atlasshrugs/garden/.meteor/local/log/mocha.log
PASSED mocha : Server initialization => should have a Meteor version defined一旦到达客户端测试,它就会永远挂起,并且无法构建。
有什么建议吗?
发布于 2015-08-26 07:08:48
根据速度自述,您应该使用以下命令:meteor --test --release velocity:METEOR@1.1.0.3_1。我确实使用了以下安装命令使其正常工作:
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以及这个test命令(用Meteor目录的路径替换它。在这种情况下,sanjo:jasmine是必需的,但是如果使用另一个测试器,则可能需要添加相关的包。velocity:html-reporter包为此目的过度使用,但它确实有效,控制台报告应该足够了,但我没有测试它):
cd ~/src/bitbucket.org/<path>/ &&
meteor add sanjo:jasmine velocity:html-reporter &&
meteor --test --release velocity:METEOR@1.1.0.3_1https://stackoverflow.com/questions/30261036
复制相似问题