aidamanna/appetype

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: ruby

dist: trusty

env:
  - BASE_URL=http://localhost:3000

install: bundle install

addons:
  postgresql: '9.6'
  code_climate:
    repo_token:
      secure: qOw1sK2ciavCmNkBgM5CCvk3VPsi4rujrRTJh/0JsYaXk1nl0rYg5rKdCE1NXg4JZR0oY5sfZ8mCZLGJU2ITlOVzUj7r0cjzInnd2btkSp/7Y2OF6zBeIonRpfZ6NBORuOYOaXEYev7GteTET4jkJNYFco4WKwWsuTjq7N19q1wTM1El80GdgYRcxZMaHYB/NJG9IPwjdBqLGN/g1CzZhhh8oILE92BjtqMK4LfElKP1/8FZDdo0TJ6XEltMJo3Ocs4ElQex4A1QTzZwxngtjEpKicXjS1DXMtITyy5hW7W0bkJWJ5h9Z7crbWzWRm26VtZ1TFtn0VftlHSiX+m/gcedPVSwM7LB8l8PjyIjofqXFvR1BTR37P6DW517iEAmYMk8rYCf7o+uMa2roaw4ElEV8sQw2c01zQfiduJKhkfn0vsjhbd44TvD/xKAFVPQ40N5ezOt0bYqBptOaWmIEXmh1SOBklErmVoO1OgBBYv4W6oeLkGsz07k7qG2k4ExTWtQ5DIpjxNg8d1Hgdchr6QYHpfSayh5HFHlLId68YGWZQX296hkuYNJ1wRzYKnaduerFyZssy3zFRF+BSftnW0NAkBge5mFYGX9pv69WwP7oCoaMzj8R0qUqzCOI5Wx7dW3ynhTiL21kENtcpn1vVgj79blcYF6KBLcD5RZdU0=

      secure: 2qYO9SdlncVTm7Ka2XNjADOp4IIT0MbMjqQJtWiUUMkNIjK+qJcyqLKuVhJjMJwo7ApD/ZsoNrUki1EA4CIJpbWusCChvPotLcDG3ViQk9QbflJo0kVwjcOvzs1h/KFtSFJHrRZ5QnoeuxJ/9gAksw6I5FW22dT3GEv54vCxFi87Uy39hUaYYd3nq6HiovEMsFBrd3L1y3+eNRKxJk0OY1N9pVpqgfBWTt4t6jaEk083hRYbsRLf9WsqPCI8qjXFWEttPVvvyEA9Hb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uj/DB78xO34sKQ1GJDKRHrb0wQxtAaBKs=
before_script:
  - psql -c 'create database appetype_test;' -U postgres
  - bundle exec rails db:migrate RAILS_ENV=test

script:
  - bundle exec rubocop
  - bundle exec rspec

after_success:
  - bundle exec codeclimate-test-reporter
  
deploy:
  provider: heroku
  api_key:
    secure: UAWS/AQ61fES7is9lCPt4eDdX6sgm/AbLoNhkXKkpeOdr+OZlH+AvFuTargOcRPiFo5Fu6WHO7TaJpXb40jtZh5g4qk4TMMpLexzSCzK7+pIYdbnq0m29WM3mGTa/o5uDuAcVJG6lwyx1uAjw+lScTEdoyLbSZJiPUhkbWbCrFLjAp2qYGGI4xT2P5x9CWTMkxQBlFumjSWMA3IIjcBDvDkWHB9IAlGIld+xnbiHgcv9VnLs4ijO6o7ckxWH6EQOlHL+W++Gk2GWXph+gFrhxPwLoreVxeyL1+ljYs33TwIp0NziEKieMfPP614iOvgF/JqBvdZOQJNRbHeDfJzaubBAyAdUX7IDKSBay3eUA/LQy2yg31e732YOuwvzrvuxb31RxTdBHWlgtTZCf5LpCMEQXHtiFVlG4XyJTQQhSy/TgZpKQUK/DnM25v/lfUmYEnfC1IfGlfvDfjWXHBmrTGOk2WzqcVBARipog1RGQcWaiaRrVKSs2TXOEho6TCzR2vc9IpGdF9vaJYyM89QB5wwY5M1g8jUZwDRJ+acyHeAEkqTaCfzqfRuZnuCGpfx5YbbD02bVfjNgd/fjOsEmlNuI9TJoojOCq/0LXntbo3xF6WJfy7Mvv39Gxo8IdFt/gX48dppC2wA+imBAmddkPOXpdqjYga9bJexOFjvHEk0=
  app: appetype-food
  on:
    branch: master
  run:
    - bundle exec rake db:migrate