Meteor + CodeShip + Modulus -
can recommend setup script deploy modulus after passing tests?
right i'm using:
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
which i've managed copy + paste around interwebz , have no idea i'm doing.
finally test pipeline is:
meteor --test
the output codeship logs:
i20150515-13:34:16.005(0)? [velocity] mocha starting mirror @ http://localhost:44995/. i20150515-13:34:16.006(0)? [velocity] takes few minutes first time. i20150515-13:34:16.006(0)? [velocity] can see mirror logs at: tail -f /home/rof/src/bitbucket.org/atlasshrugs/garden/.meteor/local/log/mocha.log passed mocha : server initialization => should have meteor version defined
as gets client-side tests, hangs ever , fails build.
any suggestions?
according velocity readme should use command: meteor --test --release velocity:meteor@1.1.0.3_1
. did manage work using 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 test command (replacing path meteor app directory. in case sanjo:jasmine
required, if use tester, might need add related package. velocity:html-reporter
package overkill purpose, works, console reporter should enough, 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
Comments
Post a Comment