Skip to content
Browse files

Having fun with travis ci. #4

  • Loading branch information...
1 parent 572bd3a commit 302094d88559821915eba2729a78befaf7c11306 @iafonov committed Jul 13, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 .chef/bootstrap/server_ubuntu_1_9_3.erb
View
7 .chef/bootstrap/server_ubuntu_1_9_3.erb
@@ -6,7 +6,12 @@ export DEBIAN_FRONTEND=noninteractive
set -x
install_1_9_3() {
- if ruby -v | grep -q "1.9.3" >/dev/null ; then
+ if [ "$TRAVIS" ]; then
+ printf "Saving cycles on Travis...\n"
+ return
+ end
+
+ if ruby -v | grep -q "1.9.3p194" >/dev/null ; then
printf "Ruby 1.9.3 is already installed skipping...\n"
return
fi

0 comments on commit 302094d

Please sign in to comment.
Something went wrong with that request. Please try again.