Commit e918e4bc authored by Eloy Duran's avatar Eloy Duran

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

Add Gemfile and Travis config. We'll need to rework the integration spec to not actually build (with xcodebuild).
parent b99f7688
language: ruby
rvm:
- 1.8.7
- 1.9.3
before_install: cd external/Xcodeproj && rake ext:install_opencflite_debs
script: rake spec:ci
source "http://rubygems.org"
group :development do
gem "rake"
gem "bacon"
end
GEM
remote: http://rubygems.org/
specs:
bacon (1.1.0)
rake (0.9.2.2)
PLATFORMS
ruby
DEPENDENCIES
bacon
rake
...@@ -80,11 +80,14 @@ namespace :spec do ...@@ -80,11 +80,14 @@ namespace :spec do
sh "bacon spec/**/*_spec.rb" sh "bacon spec/**/*_spec.rb"
end end
desc "Run all specs and build all examples" #desc "Run all specs and build all examples"
task :ci => :all do #task :ci => :all do
sh "./bin/pod setup" # ensure the spec repo is up-to-date #sh "./bin/pod setup" # ensure the spec repo is up-to-date
Rake::Task['examples:build'].invoke #Rake::Task['examples:build'].invoke
end #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" desc "Rebuild all the fixture tarballs"
task :rebuild_fixture_tarballs do task :rebuild_fixture_tarballs do
......
...@@ -29,6 +29,7 @@ Gem::Specification.new do |s| ...@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
"you are upgrading, first run: $ pod setup" "you are upgrading, first run: $ pod setup"
s.add_runtime_dependency 'xcodeproj', '~> 0.0.2' 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: ## Make sure you can build the gem on older versions of RubyGems too:
s.rubygems_version = "1.6.2" s.rubygems_version = "1.6.2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment