Permalink
Browse files

Added travis.yml

  • Loading branch information...
1 parent 230d21e commit 1a2d6849d52cfc06a361c4ca3be1761ed6622015 @pyromaniac pyromaniac committed Oct 10, 2012
Showing with 37 additions and 5 deletions.
  1. +35 −0 .travis.yml
  2. +2 −5 spec/support/database.yml
View
@@ -0,0 +1,35 @@
+before_script:
+ - mysql -e 'create database activeuuid_test;'
+ - psql -c 'create database activeuuid_test;' -U postgres
+
+rvm:
+ - 1.9.2
+ - 1.9.3
+ #- ruby-head
+ #- rbx-19mode
+
+env:
+ - RAILS_VERSION='~>3.1.0'
+ - RAILS_VERSION='~>3.1.0' DB=mysql
+ - RAILS_VERSION='~>3.1.0' DB=postgresql
+ - RAILS_VERSION='~>3.2.0'
+ - RAILS_VERSION='~>3.2.0' DB=mysql
+ - RAILS_VERSION='~>3.2.0' DB=postgresql
+ - RAILS_VERSION=3-1-stable
+ - RAILS_VERSION=3-1-stable DB=mysql
+ - RAILS_VERSION=3-1-stable DB=postgresql
+ - RAILS_VERSION=3-2-stable
+ - RAILS_VERSION=3-2-stable DB=mysql
+ - RAILS_VERSION=3-2-stable DB=postgresql
+ - RAILS_VERSION=master
+ - RAILS_VERSION=master DB=mysql
+ - RAILS_VERSION=master DB=postgresql
+
+matrix:
+ exclude:
+ - rvm: 1.9.2
+ env: RAILS_VERSION=master
+ - rvm: 1.9.2
+ env: RAILS_VERSION=master DB=mysql
+ - rvm: 1.9.2
+ env: RAILS_VERSION=master DB=postgresql
@@ -4,12 +4,9 @@ sqlite3:
postgresql:
adapter: postgresql
username: postgres
- password:
database: activeuuid_test
- min_messages: ERROR
mysql:
adapter: mysql2
- host: localhost
username: root
- password:
- database: activeuuid_test
+ database: activeuuid_test
+ encoding: utf8

0 comments on commit 1a2d684

Please sign in to comment.