commit
a778fd6c78
22
.travis.yml
22
.travis.yml
|
@ -1,22 +0,0 @@
|
||||||
language: ruby
|
|
||||||
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- main
|
|
||||||
|
|
||||||
rvm:
|
|
||||||
# MRI
|
|
||||||
- ruby-head
|
|
||||||
- 3.0
|
|
||||||
- 2.7
|
|
||||||
- 2.6
|
|
||||||
- jruby
|
|
||||||
- truffleruby
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
allow_failures:
|
|
||||||
- rvm: ruby-head
|
|
||||||
- rvm: jruby
|
|
||||||
- rvm: truffleruby
|
|
||||||
|
|
||||||
fast_finish: true
|
|
2
Gemfile
2
Gemfile
|
@ -1,6 +1,6 @@
|
||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
# Travis-only dependencies go here
|
# CI-only dependencies go here
|
||||||
if ENV["CI"] == "true" && RUBY_ENGINE == "ruby"
|
if ENV["CI"] == "true" && RUBY_ENGINE == "ruby"
|
||||||
gem "codecov", require: false, group: "test"
|
gem "codecov", require: false, group: "test"
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
[![Docs Coverage](http://inch-ci.org/github/ms-ati/docile.png)](http://inch-ci.org/github/ms-ati/docile)
|
[![Docs Coverage](http://inch-ci.org/github/ms-ati/docile.png)](http://inch-ci.org/github/ms-ati/docile)
|
||||||
|
|
||||||
[![Build Status](https://github.com/ms-ati/docile/actions/workflows/main.yml/badge.svg)](https://github.com/ms-ati/docile/actions/workflows/main.yml)
|
[![Build Status](https://github.com/ms-ati/docile/actions/workflows/main.yml/badge.svg)](https://github.com/ms-ati/docile/actions/workflows/main.yml)
|
||||||
[![Build Status](https://img.shields.io/travis/ms-ati/docile/master.svg)](https://travis-ci.org/ms-ati/docile)
|
|
||||||
[![Code Coverage](https://img.shields.io/codecov/c/github/ms-ati/docile.svg)](https://codecov.io/github/ms-ati/docile)
|
[![Code Coverage](https://img.shields.io/codecov/c/github/ms-ati/docile.svg)](https://codecov.io/github/ms-ati/docile)
|
||||||
[![Maintainability](https://api.codeclimate.com/v1/badges/79ca631bc123f7b83b34/maintainability)](https://codeclimate.com/github/ms-ati/docile/maintainability)
|
[![Maintainability](https://api.codeclimate.com/v1/badges/79ca631bc123f7b83b34/maintainability)](https://codeclimate.com/github/ms-ati/docile/maintainability)
|
||||||
|
|
||||||
|
@ -354,8 +353,7 @@ $ gem install docile
|
||||||
|
|
||||||
Works on [all currently supported ruby versions](https://github.com/ms-ati/docile/blob/master/.github/workflows/main.yml),
|
Works on [all currently supported ruby versions](https://github.com/ms-ati/docile/blob/master/.github/workflows/main.yml),
|
||||||
or so [Github Actions](https://github.com/ms-ati/docile/actions)
|
or so [Github Actions](https://github.com/ms-ati/docile/actions)
|
||||||
and [Travis CI](https://travis-ci.org/ms-ati/docile)
|
tells us.
|
||||||
tell us.
|
|
||||||
|
|
||||||
Used by some pretty cool gems to implement their DSLs, notably including
|
Used by some pretty cool gems to implement their DSLs, notably including
|
||||||
[SimpleCov](https://github.com/colszowka/simplecov). Keep an eye out for new
|
[SimpleCov](https://github.com/colszowka/simplecov). Keep an eye out for new
|
||||||
|
|
|
@ -3,7 +3,7 @@ begin
|
||||||
require "simplecov"
|
require "simplecov"
|
||||||
SimpleCov.start do
|
SimpleCov.start do
|
||||||
add_filter "/spec/" # exclude test code
|
add_filter "/spec/" # exclude test code
|
||||||
add_filter "/vendor/" # exclude gems which are vendored on Travis CI
|
add_filter "/vendor/" # exclude gems which are cached in CI
|
||||||
end
|
end
|
||||||
|
|
||||||
# On CI we publish coverage to codecov.io, except on JRuby and TruffleRuby
|
# On CI we publish coverage to codecov.io, except on JRuby and TruffleRuby
|
||||||
|
|
Loading…
Reference in New Issue