X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2d1adf4fe1ce3ca0e9aaf675d691bc80c3d49feb..c8f26592a74e776b9827ed68ccc1ee345ff52408:/.travis.yml diff --git a/.travis.yml b/.travis.yml index 013d6f66e..ad8f7e599 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,20 @@ sudo: false language: ruby rvm: - - 1.9.3 + - 2.3.1 cache: bundler addons: postgresql: 9.1 - apt_packages: - - postgresql-server-dev-9.1 + apt: + packages: + - postgresql-server-dev-9.1 services: - memcached env: 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 @@ -24,4 +26,4 @@ before_script: script: - bundle exec rubocop -f fuubar - bundle exec rake jshint - - bundle exec rake test + - bundle exec rake test:db