Skip to content

Commit

Permalink
Update travis test supports
Browse files Browse the repository at this point in the history
  • Loading branch information
musaffa committed Mar 31, 2016
1 parent a331bb1 commit 5db7298
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
15 changes: 11 additions & 4 deletions .travis.yml
@@ -1,10 +1,17 @@
language: ruby

rvm:
- 2.1.2
- 2.0.0
- 1.9.3
- 2.0
- 2.2.3
- ruby-head
- jruby-9.0.4.0

gemfile:
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_3.2.gemfile
- gemfiles/rails_3.1.gemfile

matrix:
allow_failures:
- rvm: ruby-head
2 changes: 1 addition & 1 deletion Appraisals
Expand Up @@ -12,4 +12,4 @@ end

appraise 'rails-4.1' do
gem 'rails', '4.1.6'
end
end
26 changes: 11 additions & 15 deletions README.md
Expand Up @@ -20,10 +20,7 @@ It supports the following adapters:

Supported platforms:

* Ruby versions - 1.9.3, 2.0, 2.1 or greater
* Rails versions - 3.1, 3.2, 4.0, 4.1 or greater

(let me know if it works on lesser rails versions)
* Rails versions - 3 and 4.

## Installation

Expand Down Expand Up @@ -222,12 +219,16 @@ This `remove_polymorphic_constraints` will delete all the existing `:imageable`
## Tests

```ruby
rake
rake test:unit
rake test:integration:all
rake test:integration:sqlite
rake test:integration:postgresql
rake test:integration:mysql
$ rake
$ rake test:unit
$ rake test:integration:all
$ rake test:integration:sqlite
$ rake test:integration:postgresql
$ rake test:integration:mysql

# test different active model versions
$ appraisal install
$ appraisal rake
```

## Problems
Expand All @@ -246,11 +247,6 @@ Please use GitHub's [issue tracker](http://github.com/musaffa/polymorphic_constr
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Inspirations

* [Foreigner](https://github.com/matthuhiggins/foreigner)
* [Fides](https://github.com/mkraft/fides)

## License

This project rocks and uses MIT-LICENSE.

0 comments on commit 5db7298

Please sign in to comment.