Permalink
Browse files

Make life simpler.

  • Loading branch information...
iafonov committed Jul 13, 2012
1 parent 9e9d64c commit 0ac32de0e63a533badbdce8fde7dc09efdcf8eab
Showing with 2 additions and 2 deletions.
  1. +1 −1 .chef/bootstrap/server_ubuntu_1_9_3.erb
  2. +1 −1 Rakefile
@@ -6,7 +6,7 @@ export DEBIAN_FRONTEND=noninteractive
set -x
install_1_9_3() {
- if [ "$TRAVIS" ]; then
+ if [ "$CI" ]; then
printf "Saving cycles on Travis...\n"
return
fi
View
@@ -30,6 +30,6 @@ namespace :test do
require 'socket'
system("ssh-add ~/.ssh/identity")
- system("./bin/knife bootstrap localhost --ssh-user #{ENV['USER']} --distro server_ubuntu_1_9_3 --node-name '#{Socket.gethostname}' --sudo")
+ system("CI=true && ./bin/knife bootstrap localhost --ssh-user #{ENV['USER']} --distro server_ubuntu_1_9_3 --node-name '#{Socket.gethostname}' --sudo")
end
end

0 comments on commit 0ac32de

Please sign in to comment.