.travis.yml in acts_as_textcaptcha-4.5.1 vs .travis.yml in acts_as_textcaptcha-4.5.2
- old
+ new
@@ -1,35 +1,33 @@
sudo: false
language: ruby
-script: 'bundle exec rake test'
gemfile:
- - gemfiles/rails_3.gemfile
- gemfiles/rails_4.gemfile
- gemfiles/rails_5.gemfile
- gemfiles/rails_6.gemfile
rvm:
- - 2.4.9
- - 2.5.7
- - 2.6.5
- - 2.7.0
+ - 2.5.8
+ - 2.6.6
+ - 2.7.2
+ - 3.0.0
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
exclude:
- - rvm: 2.4.9
- gemfile: gemfiles/rails_6.gemfile
- - rvm: 2.7.0
- gemfile: gemfiles/rails_3.gemfile
- - rvm: 2.7.0
+ - 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_3.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=
@@ -38,14 +36,12 @@
tags: true
repo: matthutchinson/acts_as_textcaptcha
env:
global:
- CC_TEST_REPORTER_ID=3ff570478529bcdd11ef42d33229702118aa36b17a3de01c3f6d5a9c58fc7a4c
-before_install:
- - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- - gem install bundler -v '< 2'
+ - 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
+ - ./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
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT -t simplecov