X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2c262b9bb4fd14db4a656c6125f5760f332723d2..e04cab862bd882ee9e07f90712e6c0c25380ed27:/.travis.yml?ds=sidebyside diff --git a/.travis.yml b/.travis.yml index 49da7b493..e4f739093 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,19 @@ +sudo: false language: ruby rvm: - 1.9.3 +cache: bundler addons: postgresql: 9.1 + apt: + packages: + - postgresql-server-dev-9.1 services: - memcached env: global: - OSM_MEMCACHE_SERVERS="127.0.0.1" before_script: - - sudo apt-get update - - sudo apt-get install postgresql-server-dev-9.1 - psql -U postgres -c "CREATE DATABASE openstreetmap" - psql -U postgres -c "CREATE EXTENSION btree_gist" openstreetmap - make -C db/functions libpgosm.so @@ -21,4 +24,5 @@ before_script: - bundle exec rake db:migrate script: - bundle exec rubocop -f fuubar + - bundle exec rake jshint - bundle exec rake test