language: node_js

node_js:
  - 4
  - 5

addons:
  postgresql: 9.4

before_script:
  - psql -U postgres -c "create extension postgis"

before_install:
   - npm install -g npm@'2.x.x'

before_script:
  - psql -a -f ./tools/init-database.sql -U postgres
  - npm install

script:
  - npm run ci

language: node_js

node_js:
  - 4
  - 5

addons:
  postgresql: 9.4

before_script:
  - psql -U postgres -c "create extension postgis"

before_install:
   - npm install -g npm@'2.x.x'

before_script:
  - psql -a -f ./tools/init-database.sql -U postgres
  - npm install

script:
  - bash ./tools/ci.sh

Change to use bash ci
Change to use bash ci
