sudo: false
language: ruby
rvm:
- - 1.9.3
+ - 2.3.1
cache: bundler
addons:
postgresql: 9.1
global:
- OSM_MEMCACHE_SERVERS="127.0.0.1"
before_script:
+ - cp config/example.application.yml config/application.yml
- psql -U postgres -c "CREATE DATABASE openstreetmap"
- psql -U postgres -c "CREATE EXTENSION btree_gist" openstreetmap
- make -C db/functions libpgosm.so
script:
- bundle exec rubocop -f fuubar
- bundle exec rake jshint
- - bundle exec rake test
+ - bundle exec rake test:db