language: ruby
rvm:
- 2.2.2
before_install:
- gem update --system
- gem --version
addons:
  postgresql: '9.4'
before_script:
- psql -c 'create database ok_councillr_test;' -U postgres
notifications:
  slack:
    secure: BBMfrttXmQa4+Tfke2stIR0jT5RSB5cwx7RaZkCUxcQZ7phHLFPK+LbZPuJ8zPoiW26uRGlxaKxpZiYEQXC/JRj5TWBIx9sXiozDMaR2vqz37YNV6iik33MkSzJUNiJ8GyLXkoWsA0CL8rQDNliPa4dmOl4PLYeBsALtkpffFNE=

language: ruby
rvm:
- 2.2.2
before_install:
- gem update --system
- gem --version
addons:
  postgresql: '9.4'
before_script:
- rake db:setup
notifications:
  slack:
    secure: BBMfrttXmQa4+Tfke2stIR0jT5RSB5cwx7RaZkCUxcQZ7phHLFPK+LbZPuJ8zPoiW26uRGlxaKxpZiYEQXC/JRj5TWBIx9sXiozDMaR2vqz37YNV6iik33MkSzJUNiJ8GyLXkoWsA0CL8rQDNliPa4dmOl4PLYeBsALtkpffFNE=

Use Rake Task Instead Of PostgreSQL For Travis CI
Use Rake Task Instead Of PostgreSQL For Travis CI

Use rake test instead of postgreSQL command in Travis CI file because
this will add in the database, tables and data to test on.
