Permalink
Browse files

[Rakefile] Fix Travis.

  • Loading branch information...
1 parent 7591152 commit 46d14e088e1c47cf8a06ac869eb699d6e3604513 @fabiopelosin fabiopelosin committed Sep 5, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Rakefile
View
@@ -12,7 +12,7 @@ namespace :travis do
#
# Known to work with opencflite rev 248.
task :prepare_deb do
- sh "sudo apt-get install subversion libicu-dev libicu44"
+ sh "sudo apt-get install subversion libicu-dev"
sh "svn co https://opencflite.svn.sourceforge.net/svnroot/opencflite/trunk opencflite"
sh "cd opencflite && ./configure --target=linux --with-uuid=/usr --with-tz-includes=./include --prefix=/usr/local && make && sudo make install"
sh "sudo /sbin/ldconfig"
@@ -21,6 +21,7 @@ namespace :travis do
task :install_opencflite_debs do
sh "mkdir -p debs"
Dir.chdir("debs") do
+ sh "wget http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu44_4.4.2-2ubuntu0.11.04.1_i386.deb" unless File.exist?("libicu44_4.4.2-2ubuntu0.11.04.1_i386.deb")
base_url = "https://github.com/downloads/CocoaPods/OpenCFLite"
%w{ opencflite1_248-1_i386.deb opencflite-dev_248-1_i386.deb }.each do |deb|
sh "wget #{File.join(base_url, deb)}" unless File.exist?(deb)

0 comments on commit 46d14e0

Please sign in to comment.