.travis.yml
env:
global:
- CC_TEST_REPORTER_ID=cd7c4f8ecc524c18ae8a60a1cebf50f64816123ec1040385c367ddff5cdefa0a
language: ruby
rvm:
- 2.5.1
- 2.3.0
before_install:
- gem update --system
- gem install bundler
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
script:
- bundle exec rspec
- bundle exec rake rerdoc
after_script:
- ./cc-test-reporter after-build -t simplecov --exit-code $TRAVIS_TEST_RESULT
cache: bundler
deploy:
provider: pages
local_dir: docs
skip_cleanup: true
target_branch: gh-pages
github_token: $PERSONAL_ACCESS_TOKEN
keep_history: true
on:
branch: master