Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #37 from sevos/circle-ci
Browse files Browse the repository at this point in the history
Switch to Circle; config for multiple rvm versions
  • Loading branch information
schneidmaster committed Jul 16, 2015
2 parents 4dd903c + 523d811 commit 57ff347
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -4,7 +4,7 @@ require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

task default: :spec
namespace :travis do
namespace :circle do
RSpec::Core::RakeTask.new(:spec) do |task|
file_list = FileList['spec/**/*_spec.rb']

Expand Down
22 changes: 22 additions & 0 deletions circle.yml
@@ -0,0 +1,22 @@
dependencies:
pre:
- rvm install 2.2
- rvm install 2.1
- rvm install 2.0
- rvm install 1.9

cache_directories:
- '~/.rvm/gems/'

override:
- rvm-exec 2.2 bash -c 'bundle check || bundle install'
- rvm-exec 2.1 bash -c 'bundle check || bundle install'
- rvm-exec 2.0 bash -c 'bundle check || bundle install'
- rvm-exec 1.9 bash -c 'bundle check || bundle install'

test:
override:
- rvm-exec 2.2 bash -c 'bundle exec rake circle:spec'
- rvm-exec 2.1 bash -c 'bundle exec rake circle:spec'
- rvm-exec 2.0 bash -c 'bundle exec rake circle:spec'
- rvm-exec 1.9 bash -c 'bundle exec rake circle:spec'

0 comments on commit 57ff347

Please sign in to comment.