erikw/jekyll-glossary_tooltip

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
# NOTE run $(travis lint) after modyifing this file.

# Travis
# - build lifecycle: https://docs.travis-ci.com/user/job-lifecycle
# - config doc: https://config.travis-ci.com/
# - ruby defaults: https://docs.travis-ci.com/user/languages/ruby/
# Codeclimate setup: https://docs.codeclimate.com/docs/travis-ci-test-coverage

version: ~> 1.0
env:
  global:
    - CC_TEST_REPORTER_ID=8b8822cdaba8bb6c0a9d3f05bea9bc94dbf866ccdd1204913f5673b61caa61b1
language: ruby
dist: focal # TODO Remove this when solved: https://github.com/rvm/rvm/issues/5133
# Buid matrix (rvm x gemfile = 2x2) with one version from each supported major version in range defined in .gemspec for
rvm:
  - 2.7.0
  - 3.0.1
gemfile:
  - gemfiles/jekyll_3.7.x.gemfile
  - gemfiles/jekyll_4.x.x.gemfile
cache: bundler
before_install: gem install bundler -v 2.2.18
#install: bundle install # Default
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 rake # Default
after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT