Created
May 10, 2013 16:59
-
-
Save squidarth/5555760 to your computer and use it in GitHub Desktop.
circle.yml
This file contains hidden or 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
#!/bin/bash | |
i=0 | |
files=() | |
for file in $(find ./spec -name "*_spec.rb") | |
do | |
if [ $(($i % $CIRCLE_NODE_TOTAL)) -eq $CIRCLE_NODE_INDEX ] | |
then | |
files+=" $file" | |
fi | |
((i++)) | |
done | |
test-runner ${files[@]} |
This file contains hidden or 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
dependencies: | |
pre: | |
- npm install -g bower | |
- bower install | |
database: | |
post: | |
- bundle exec rake generate_js_routes i18n:js:export --trace | |
test: | |
override: | |
- ./circle-rspec.sh | |
- bundle exec jasmine-headless-webkit -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment