language: ruby
bundler_args: --without development production staging
rvm:
  - 1.9.3
# uncomment this line if your project needs to run something other than `rake`:
before_script:
  - psql -c 'create database sapi_test' -U postgres
  - RAILS_ENV=test bundle exec rake db:migrate
script: 
  - CODECLIMATE_REPO_TOKEN=dd9c26c5738d807099d3f35926ddb76902d4e2a7b899a8fe3b866152ffe8bbf1 bundle exec rspec spec
notifications:
  email:
    - agnieszka.figiel@unep-wcmc.org
    - simao.belchior@unep-wcmc.org
branches:
  only:
    - master
addons:
  code_climate:
    repo_token: dd9c26c5738d807099d3f35926ddb76902d4e2a7b899a8fe3b866152ffe8bbf

language: ruby
bundler_args: --without development production staging
rvm:
  - 1.9.3
# uncomment this line if your project needs to run something other than `rake`:
before_script:
  - psql -c 'create database sapi_test' -U postgres
  - RAILS_ENV=test bundle exec rake db:migrate
script: 
  - bundle exec rspec spec
notifications:
  email:
    - agnieszka.figiel@unep-wcmc.org
    - simao.belchior@unep-wcmc.org
branches:
  only:
    - master
addons:
  code_climate:
    repo_token: dd9c26c5738d807099d3f35926ddb76902d4e2a7b899a8fe3b866152ffe8bbf

Revert "Adding ENV variable for code climate token"
Revert "Adding ENV variable for code climate token"

This reverts commit 6dee0fb2b331b881292d90549a29b3498e04e2b3.
