Commit 270980ac authored by Fabio Pelosin's avatar Fabio Pelosin

[Travis] Use spec rake task

parent 716af5cd
......@@ -17,10 +17,13 @@ before_install:
- if [[ $RVM_RUBY_VERSION == 'system' ]]; then export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future; fi
- if [[ $RVM_RUBY_VERSION == 'system' ]]; then sudo gem install bundler --no-ri --no-rdoc; else gem install bundler --no-ri --no-rdoc; fi
# CocoaPods/CocoaPods specific
- ./bin/pod repo update --silent
install:
- bundle install --without=debugging documentation --path ./travis_bundle_dir
script: rake spec:ci
script: rake spec
notifications:
campfire:
......
......@@ -132,20 +132,6 @@ namespace :spec do
Rake::Task['examples:build'].invoke
end
# The integration 2 tests and the examples use the normal CocoaPods setup.
#
desc "Run all specs and build all examples"
task :ci => :unpack_fixture_tarballs do
require 'pathname'
title 'Ensuring specs repo is up to date'
unless Pathname.new(ENV['HOME']+'/.cocoapods/repos/master').exist?
sh "./bin/pod setup"
end
sh "./bin/pod repo update --silent"
Rake::Task['spec:all'].invoke
end
desc "Rebuild all the fixture tarballs"
task :rebuild_fixture_tarballs do
tarballs = FileList['spec/fixtures/**/*.tar.gz']
......
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