Permalink
Browse files

Switching to sqlite3 database for travis

  • Loading branch information...
1 parent 59de0ec commit 73cf3957e40fcefdf259d27416c7dbc6a550f2ad @rickychilcott rickychilcott committed Jun 10, 2013
Showing with 12 additions and 6 deletions.
  1. +2 −2 .travis.yml
  2. +10 −4 config/database.travis.yml
View
@@ -4,7 +4,7 @@ rvm:
- 1.9.2
- 2.0.0
-services: mysql
+# services: mysql
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
@@ -13,7 +13,7 @@ script:
before_script:
- cp config/database.travis.yml config/database.yml
- - mysql -e 'create database munkiserver;'
+# - mysql -e 'create database munkiserver;'
notifications:
email:
View
@@ -1,5 +1,11 @@
test:
- adapter: mysql2
- database: munkiserver
- username: root
- encoding: utf8
+ adapter: sqlite3
+ database: ":memory:"
+ timeout: 500
+
+#
+# test:
+# adapter: mysql2
+# database: munkiserver
+# username: root
+# encoding: utf8

1 comment on commit 73cf395

Owner

jnraine commented on 73cf395 Jun 10, 2013

yay for passing travis!

Please sign in to comment.