forked from erikw/jekyll-glossary_tooltip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (29 loc) · 1.15 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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