Browse files

Add Gemfile and Travis config. We'll need to rework the integration s…

…pec to not actually build (with xcodebuild).
  • Loading branch information...
1 parent b99f768 commit e918e4bc1331f85c77c7cdd20e4437852b6c2caf @alloy alloy committed Feb 15, 2012
Showing with 33 additions and 5 deletions.
  1. +6 −0 .travis.yml
  2. +6 −0 Gemfile
  3. +12 −0 Gemfile.lock
  4. +8 −5 Rakefile
  5. +1 −0 cocoapods.gemspec
View
6 .travis.yml
@@ -0,0 +1,6 @@
+language: ruby
+rvm:
+ - 1.8.7
+ - 1.9.3
+before_install: cd external/Xcodeproj && rake ext:install_opencflite_debs
+script: rake spec:ci
View
6 Gemfile
@@ -0,0 +1,6 @@
+source "http://rubygems.org"
+
+group :development do
+ gem "rake"
+ gem "bacon"
+end
View
12 Gemfile.lock
@@ -0,0 +1,12 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ bacon (1.1.0)
+ rake (0.9.2.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bacon
+ rake
View
13 Rakefile
@@ -80,11 +80,14 @@ namespace :spec do
sh "bacon spec/**/*_spec.rb"
end
- desc "Run all specs and build all examples"
- task :ci => :all do
- sh "./bin/pod setup" # ensure the spec repo is up-to-date
- Rake::Task['examples:build'].invoke
- end
+ #desc "Run all specs and build all examples"
+ #task :ci => :all do
+ #sh "./bin/pod setup" # ensure the spec repo is up-to-date
+ #Rake::Task['examples:build'].invoke
+ #end
+
+ # For now we don't run the integration spec, but it should be cleaned up so it can run on Travis.
+ task :ci => :all
desc "Rebuild all the fixture tarballs"
task :rebuild_fixture_tarballs do
View
1 cocoapods.gemspec
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
"you are upgrading, first run: $ pod setup"
s.add_runtime_dependency 'xcodeproj', '~> 0.0.2'
+ s.add_development_dependency 'bacon', '~> 1.1'
## Make sure you can build the gem on older versions of RubyGems too:
s.rubygems_version = "1.6.2"

0 comments on commit e918e4b

Please sign in to comment.