Permalink
Browse files

Having fun with travis ci. #1

  • Loading branch information...
1 parent e2a052b commit 9a80a20fe54bb7687ab43dd379497868e6cdd670 @iafonov committed Jul 13, 2012
Showing with 1 addition and 1 deletion.
  1. +0 −1 .travis.yml
  2. +1 −0 Rakefile
View
@@ -5,7 +5,6 @@ before_install:
- ssh-keygen -t rsa -N "" -f ~/.ssh/identity
- cat ~/.ssh/identity.pub > ~/.ssh/authorized_keys
- printf "Host *\n StrictHostKeyChecking no" > ~/.ssh/config
- - ssh-add ~/.ssh/identity
script: ssh-agent bash -c 'rake test:self_bootstrap'
rvm:
- 1.9.3
View
@@ -27,6 +27,7 @@ namespace :test do
task :default => :self_bootstrap
task :self_bootstrap do
+ system("ssh-add ~/.ssh/identity")
system("./bin/knife bootstrap localhost --ssh-user #{ENV['USER']} --distro server_ubuntu_1_9_3 --node-name 'chef.localhost' --sudo")
end
end

0 comments on commit 9a80a20

Please sign in to comment.