Last active
January 3, 2016 16:29
-
-
Save bergquist/8489691 to your computer and use it in GitHub Desktop.
kraken ci
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
node_js: | |
- '0.10' | |
script: ./ci.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#run mocha like before | |
mocha | |
#install yeoman and create test folder to run the generator within | |
npm install -g yo | |
cd .. | |
mkdir test | |
#clone generator and link | |
git clone https://github.com/yeoman/generator.git | |
cd generator && npm link | |
cd .. | |
#link local kraken-generator | |
cd generator-kraken && npm link | |
#link local generator to yeoman | |
cd ../generator | |
npm link generator-kraken | |
cd .. | |
#move to folder where generator should be executed | |
cd test | |
#run kraken generator | |
yo kraken | |
#last command need parameters(name, author, requirejs) to execute. otherwise it will just hang around until the test timeout. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment