Skip to content

Commit

Permalink
Merge pull request #71 from squidpunch/travis-tweaks
Browse files Browse the repository at this point in the history
Update travis with install script, and caching
  • Loading branch information
David Larrabee committed Apr 15, 2015
2 parents 1cfd027 + bb1f99b commit 9c00518
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ before_install:
- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/simctl create five com.apple.CoreSimulator.SimDeviceType.iPhone-5 com.apple.CoreSimulator.SimRuntime.iOS-8-1
gemfile:
- Gemfile
script:
- bundle install
cache:
directories:
- vendor/bundle
- vendor/Pods
install:
- bundle install --jobs=3 --retry=3
- bundle exec rake clean
- bundle exec rake pod:install > /dev/null
- bundle exec rake spec
- bundle exec rake spec device_name=five
script:
- bundle exec rake spec output=test_unit
- bundle exec rake spec output=test_unit device_name=five
2 changes: 1 addition & 1 deletion redpotion.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "ProMotion", "~> 2.3"
spec.add_runtime_dependency "motion_print"
spec.add_runtime_dependency "motion-cocoapods"
spec.add_development_dependency "rake"
spec.add_runtime_dependency "rake"
spec.add_development_dependency "webstub"
end

0 comments on commit 9c00518

Please sign in to comment.