language: ruby
git:
  depth: 999
before_script:
- export RAILS_ENV=development
- export GITHUB_SLUG=${TRAVIS_REPO_SLUG}
- export PULL_REQUEST_ID=${TRAVIS_PULL_REQUEST}
- export PRONTO_FORMATTER=$([ "${TRAVIS_PULL_REQUEST}" = "false" ] && echo 'github_pr' || echo 'text')
script:
- bundle exec pronto run -f ${PRONTO_FORMATTER} -c ${TRAVIS_BRANCH}
- bundle exec rake test
rvm:
- 2.0.0
- 1.9.3
env:
  global:
    secure: Ce5gbamvAI9gj3DDeb9Uq73XZxqxWmuEjtD6xL9Tlqgt8MaiS73lmUEecLvxI1sd1eEB57regNh+ciI4kgPswHQtfNx2Cr3G1s3AXu3zUHIHUJg4zoLH+nKX7ew68K4z2PDyy5iBs6tOWXMYWPkpwOneYmuF5O/NhE8ZuX+iSqk=

language: ruby
git:
  depth: 999
before_script:
- export RAILS_ENV=development
- export GITHUB_SLUG=${TRAVIS_REPO_SLUG}
- export PULL_REQUEST_ID=${TRAVIS_PULL_REQUEST}
- export PRONTO_FORMATTER=$([ "${TRAVIS_PULL_REQUEST}" = "false" ] && echo 'github_pr' || echo 'text')
script:
- bundle exec pronto run -f ${PRONTO_FORMATTER} -c ${TRAVIS_BRANCH} --exit-code=true
- bundle exec rake test
rvm:
- 2.0.0
- 1.9.3
env:
  global:
    secure: Ce5gbamvAI9gj3DDeb9Uq73XZxqxWmuEjtD6xL9Tlqgt8MaiS73lmUEecLvxI1sd1eEB57regNh+ciI4kgPswHQtfNx2Cr3G1s3AXu3zUHIHUJg4zoLH+nKX7ew68K4z2PDyy5iBs6tOWXMYWPkpwOneYmuF5O/NhE8ZuX+iSqk=

Exit pronto with non-zero on warnings/errors
Exit pronto with non-zero on warnings/errors

Signed-off-by: Lukas Matt <65adda4326914576405c9e3a62f4904d96573863@zauberstuhl.de>
