]> git.openstreetmap.org Git - rails.git/blobdiff - .travis.yml
Only the standard layer can be exported
[rails.git] / .travis.yml
index 5886be87ef8cc15faa96aaaec043c278664edad7..6c41bc8b82521802dc6ec577ea93e38b2ceff9f0 100644 (file)
@@ -1,16 +1,20 @@
+sudo: false
 language: ruby
 rvm:
-  - 1.9.3
+  - 2.1.8
+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
+  - 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