Enable bundle caching in travis
authorTom Hughes <tom@compton.nu>
Fri, 27 Feb 2015 10:28:21 +0000 (10:28 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 27 Feb 2015 10:28:21 +0000 (10:28 +0000)
.travis.yml

index 5886be87ef8cc15faa96aaaec043c278664edad7..013d6f66e3ece7a9d6009deed373785d60b19bc6 100644 (file)
@@ -1,16 +1,18 @@
+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