Skip to content

Commit

Permalink
Remove tests for mysql, which has been abandoned since January 1, 2015
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Feb 22, 2016
1 parent 73a79d0 commit fd6427c
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace :display do
end
task :default => ["display:notice"]

ADAPTERS = %w(mysql mysql2 jdbcmysql jdbcpostgresql postgresql sqlite3 seamless_database_pool mysqlspatial mysql2spatial spatialite postgis)
ADAPTERS = %w(mysql2 jdbcmysql jdbcpostgresql postgresql sqlite3 seamless_database_pool mysql2spatial spatialite postgis)
ADAPTERS.each do |adapter|
namespace :test do
desc "Runs #{adapter} database tests."
Expand Down
1 change: 0 additions & 1 deletion gemfiles/3.1.gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
platforms :ruby do
gem 'mysql', '>= 2.8.1'
gem 'activerecord', '~> 3.1.0'
end
1 change: 0 additions & 1 deletion gemfiles/3.2.gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
platforms :ruby do
gem 'mysql', '>= 2.8.1'
gem 'activerecord', '~> 3.2.0'
end
1 change: 0 additions & 1 deletion gemfiles/4.0.gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
platforms :ruby do
gem 'mysql', '~> 2.9'
gem 'activerecord', '~> 4.0'
end
1 change: 0 additions & 1 deletion gemfiles/4.1.gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
platforms :ruby do
gem 'mysql', '~> 2.9'
gem 'activerecord', '~> 4.1'
end
1 change: 0 additions & 1 deletion gemfiles/4.2.gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
platforms :ruby do
gem 'mysql', '~> 2.9'
gem 'activerecord', '~> 4.2'
end
1 change: 0 additions & 1 deletion gemfiles/5.0.gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
platforms :ruby do
gem 'mysql', '~> 2.9'
gem 'activerecord', '~> 5.0.0.beta1'
end
1 change: 0 additions & 1 deletion test/adapters/mysql.rb

This file was deleted.

1 change: 0 additions & 1 deletion test/adapters/mysqlspatial.rb

This file was deleted.

7 changes: 0 additions & 7 deletions test/database.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@ common: &common
host: localhost
database: activerecord_import_test

mysql: &mysql
<<: *common
adapter: mysql

mysql2: &mysql2
<<: *common
adapter: mysql2

mysqlspatial:
<<: *mysql

mysql2spatial:
<<: *mysql2

Expand Down
2 changes: 0 additions & 2 deletions test/travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ for activerecord_version in "3.1" "3.2" "4.0" "4.1" "4.2" "5.0" ; do

bundle update activerecord

run bundle exec rake test:mysql # Run tests for mysql
run bundle exec rake test:mysql2 # Run tests for mysql2
run bundle exec rake test:mysql2spatial # Run tests for mysql2spatial
run bundle exec rake test:mysqlspatial # Run tests for mysqlspatial
run bundle exec rake test:postgis # Run tests for postgis
run bundle exec rake test:postgresql # Run tests for postgresql
run bundle exec rake test:seamless_database_pool # Run tests for seamless_database_pool
Expand Down
7 changes: 0 additions & 7 deletions test/travis/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@ common: &common
host: localhost
database: activerecord_import_test

mysql: &mysql
<<: *common
adapter: mysql

mysql2: &mysql2
<<: *common
adapter: mysql2

mysqlspatial:
<<: *mysql

mysql2spatial:
<<: *mysql2

Expand Down

0 comments on commit fd6427c

Please sign in to comment.