sudo: false language: ruby gemfile: - gemfiles/rails_4.gemfile - gemfiles/rails_5.gemfile - gemfiles/rails_6.gemfile rvm: - 2.5.8 - 2.6.6 - 2.7.2 - 3.0.0 - ruby-head matrix: allow_failures: - rvm: ruby-head exclude: - rvm: 2.7.2 gemfile: gemfiles/rails_4.gemfile - rvm: 3.0.0 gemfile: gemfiles/rails_4.gemfile - rvm: 3.0.0 gemfile: gemfiles/rails_5.gemfile - rvm: ruby-head gemfile: gemfiles/rails_4.gemfile - rvm: ruby-head gemfile: gemfiles/rails_5.gemfile deploy: provider: rubygems api_key: secure: AUJy9JSNrNcJcZc6JQErh1LtmHrdQBk1W0DYVT0soyBEx5hbKKoIympmrlh9VcZxNpbLfbuCdxl2C0nWMembwx71tLytvM76BqoU2KKTxQQLju8SUAyzGQabkNHr0mzpUDQiC4L16c5k+voCkWtptGkxiVq6eDZExBSzDM8cVMk= gem: acts_as_textcaptcha on: tags: true repo: matthutchinson/acts_as_textcaptcha env: global: - CC_TEST_REPORTER_ID=3ff570478529bcdd11ef42d33229702118aa36b17a3de01c3f6d5a9c58fc7a4c - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi) before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi) after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT -t simplecov