Skip to content

Commit

Permalink
A first stab at DB setup. [#87]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Aug 8, 2013
1 parent 12006a3 commit 6539010
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Expand Up @@ -3,7 +3,19 @@ rvm:
- 1.9.3
- jruby-19mode
bundler_args: --without development
services: postgres
before_install:
- gem update --system 1.8.25 # since ZenTest needs ~> 1.8
- gem --version
before_script:
- >
cat <config/database.yml <<EOF
test:
adapter: postgis
database: quorum2_test
username: postgres
encoding: UTF8
EOF
- bundle exec rake db:create db:schema:load
- psql -U postgres -d quorum2_test -c 'CREATE EXTENSION postgis;'
script: bundle exec rspec && cucumber

0 comments on commit 6539010

Please sign in to comment.