Permalink
Browse files

Aaand also set the CFLAGS env var when bundling.

  • Loading branch information...
alloy committed Feb 26, 2012
1 parent 1de6c5c commit fe9f9bbbc7dc7b73545f7b6ec45cb6d1452c06f1
Showing with 4 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +3 −1 Rakefile
View
@@ -2,4 +2,4 @@ language: ruby
rvm:
- 1.8.7
- 1.9.3
-before_install: rake travis:setup
+install: rake travis:setup
View
@@ -22,7 +22,9 @@ namespace :travis do
end
end
- task :setup => [:install_opencflite_debs, :fix_rvm_include_dir]
+ task :setup => [:install_opencflite_debs, :fix_rvm_include_dir] do
+ sh "CFLAGS='-I#{rvm_ruby_dir}/include' bundle install"
+ end
end
desc "Run `pod spec lint` on all specs"

0 comments on commit fe9f9bb

Please sign in to comment.