Skip to content

Commit

Permalink
Use bootstrap script in travis and pass it some arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Günnewig committed May 7, 2015
1 parent 831edf6 commit 252a8b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: false
language: ruby
bundler_args: --without development debug profile
script: script/test
install: script/bootstrap --without development debug
rvm:
- 2.1.5
- 2.1.4
Expand Down
2 changes: 1 addition & 1 deletion script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ gem install bundler >/dev/null 2>error.log || ( echo -e "$error_msg\n\nAn error
echo OK

echo -en "$info_msg \"bundle install\" "
bundle install --without debug >/dev/null 2>error.log || ( echo -e "$error_msg\n\nAn error occurred during bundle install. Run \`bundle install\` yourself."; output_error_log; exit 1 )
bundle install $* >/dev/null 2>error.log || ( echo -e "$error_msg\n\nAn error occurred during bundle install. Run \`bundle install\` yourself."; output_error_log; exit 1 )
echo OK

0 comments on commit 252a8b5

Please sign in to comment.