Skip to content

Commit

Permalink
Update travis matrix
Browse files Browse the repository at this point in the history
Fix specs for postgresql
  • Loading branch information
seuros committed May 16, 2014
1 parent ecf219b commit 306fd7e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@ rvm:
- 2.0.0
- 2.1.1
- rbx-2
- ruby-head

env:
- DB=sqlite3
- DB=mysql
- DB=postgresql

gemfile:
- gemfiles/activerecord_3.2.gemfile
- gemfiles/activerecord_4.0.gemfile
- gemfiles/activerecord_4.1.gemfile
- gemfiles/activerecord_edge.gemfile

cache: bundler
script: bundle exec rake
before_install: gem install bundler
Expand All @@ -20,4 +24,19 @@ matrix:
fast_finish: true
allow_failures:
- gemfile: gemfiles/activerecord_edge.gemfile
- rvm: rbx-2
- rvm: rbx-2
exclude:
- rvm: 1.9.3
gemfile: ci/Gemfile.activerecord-4.0.x
- rvm: 1.9.3
gemfile: ci/Gemfile.activerecord-4.1.x
- rvm: 1.9.3
gemfile: ci/Gemfile.activerecord-edge
- rvm: rbx-2
gemfile: ci/Gemfile.activerecord-3.2.x
- rvm: ruby-head
gemfile: ci/Gemfile.activerecord-3.2.x
- rvm: ruby-head
gemfile: ci/Gemfile.activerecord-4.0.x
- rvm: ruby-head
gemfile: ci/Gemfile.activerecord-4.1.x
2 changes: 1 addition & 1 deletion spec/acts_as_taggable_on/tagging_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
expect(taggable.tag_list).to eq(['bug'])

another_taggable = TaggableModel.where('id != ?', taggable.id).sample
expect(another_taggable.tag_list).to eq(%w(very serious bug))
expect(another_taggable.tag_list.sort).to eq(%w(very serious bug).sort)
end

pending 'context scopes' do
Expand Down

0 comments on commit 306fd7e

Please sign in to comment.