1
0
Fork 0
mirror of https://github.com/ms-ati/docile synced 2023-03-27 23:21:52 -04:00
Commit graph

31 commits

Author SHA1 Message Date
Marc Siegel
75b66bec6a Fix Rubocop Style/FetchEnvVar 2022-04-23 16:17:26 -04:00
Marc Siegel
ba7684f0bd
Move Gemfile CI-only dependencies to test group (#91)
We want to be careful to avoid accidentally bringing
in runtime dependencies to projects which use Docile.

In this PR, we clarify explicitly that the CI-only dependency
on simplecov-cobertura, which is the formatt used by CodeCov,
is a test dependency, and not a runtime dependency.

Without this change, it may be possible that projects which use
Docile, when running in an environment with CI=true, would
accidentally bring in this test-only dependency, when that isn't
intended.

  - Remove unnecessary quoting of '3.1' in .github/workflows/main.yml
2022-04-11 14:33:52 -04:00
Marc Siegel
25114d0c1d Add Rubocop and run checks in CI
This should finally allow us to adopt code style lints, as well
as others such as performance linting, and have them enforced by
the Github Actions continuous integration (CI) jobs.

For now, I'm choosing to depend on the 'panolint' gem from
Panorama Education, which is my current workplace, as I'd like
to adopt and stay consistent with the setting used there.

Changes
  * Move development and test dependencies from gemspec to Gemfile
  * Add dependency on 'panolint' gem
  * Add .rubocop.yml
  * Fix all existing issues
  * Run rubocop in github actions CI
2021-05-10 17:20:00 -04:00
Taichi Ishitani
26d0c0e327 use codecov action instead of codecov gem 2021-05-08 23:49:47 +09:00
Marc Siegel
c8562aa997 Remove Travis CI
Re: #60

Good bye to Travis CI! You were very appreciated.

But today, supporting only Github Actions for CI will enable
some additional goals, as well as speeding up builds.
2021-05-06 15:42:28 -04:00
Marc Siegel
5455d69af6 Add Github Actions CI configuration
Based on: https://github.com/ruby/setup-ruby

Re: #60

Some notes on the initial Github Actions config:

  1. Set min ruby version to 2.5 in order to support JRuby,
     which as of 9.2.17.0 has a RUBY_VERSION of 2.5.

  2. For CodeCov exclude JRuby and TruffleRuby, to avoid
     errors sending the results in Github Actions on those
     jobs rather than debugging them further.

  3. Plan is to next remove Travis CI, and then to convert
     the CodeCov config to use the Github Action for CodeCov
     (thanks @taichi-ishitani for this suggestion!)
2021-05-06 11:24:42 -04:00
Marc Siegel
4f258fab7a Remove support for EOL Rubies (< 2.6)
In this PR:
  * Temporarily remove all YARD doc config, to be added back
    after migrating CI to Github Actions, to simplify config
    and dependencies
  * Remove all testing and references to < 2.6 Rubies
  * Simplify JRuby and TruffleRuby testing to latest stable versions

NOT in this PR:
  * Any simplifying code changes that are now possible due to
    removing support for EOL Rubies

Closes #58
2021-05-04 10:55:36 -04:00
Marc Siegel
a6253f63e5
Remove rbx (Rubinius) and 1.8.x pinned dependencies (#64)
* Remove rbx (Rubinius) and 1.8.x pinned dependencies

* Update travis.yml branch to main
2021-02-09 11:25:38 -05:00
Marc Siegel
408fdc7bc4 Exclude CodeCov on Ruby < 2.3.0
It appears that the codecov gem now uses the &. operator,
which appeared in Ruby 2.3.
2020-09-18 14:15:18 -04:00
Marc Siegel
c2faad5b6d Standardize on double-quoted strings: Gemfile, Rakefile 2018-01-14 19:56:20 -05:00
Marc Siegel
e6a68fcb6b Update Travis Rubies again 2018-01-12 14:35:09 -05:00
Marc Siegel
6a2bcdd3b7 Bump codecov dep to fix Travis for 1.9.2
See https://twitter.com/codecov/status/613820274530619392
2015-06-24 17:29:12 -04:00
Marc Siegel
85fa373cb4 Remove simplecov gem on 1.8
Deprecation note indicates it will be removing even
no-op support for 1.8, so clarify now that it won’t
even be installed on those builds.
2015-06-24 16:18:43 -04:00
Marc Siegel
3c2bcb3f1f Only require codecov gem on Travis CI 2015-06-24 16:12:54 -04:00
Marc Siegel
e8ade0ac9b Switch from coveralls.io to codecov.io 2015-06-24 16:00:41 -04:00
Alexey Vasiliev
0db2dd7795 fix dependency 2014-02-04 20:54:06 +02:00
Marc Siegel
41b7721f4b (cosmetic: replace eligible double quoted strings with single quotes) 2013-11-26 15:53:45 -05:00
Marc Siegel
57b1ca53ba Fix Gemfile for Rubinius 2.2.0 2013-11-26 15:30:31 -05:00
Marc Siegel
f98b033ca6 Oops, maintain pre-1.9 syntax in Gemfile 2013-11-25 07:57:30 -05:00
Marc Siegel
ee423d8fad Cap mime-types gem at 1.25.x in tests for 1.8.7 compat 2013-11-25 07:50:12 -05:00
Marc Siegel
a974da2486 Add 'rubysl' dependency for tests in Rubinius 2013-11-25 07:48:57 -05:00
Marc Siegel
ae43233ec6 Restrict dependencies so that mime-types 1.25 is used (compat with 1.8.7) 2013-11-25 07:11:54 -05:00
Marc Siegel
e5aa68bef2 Fix Gemfile for pre-2.0.0 etc (2nd attempt) 2013-07-05 14:33:07 -04:00
Marc Siegel
c0dc51316d Fix Gemfile syntax for rbx 2013-07-05 14:18:15 -04:00
Marc Siegel
d3bb0a3102 Add setup for coveralls.io code coverage tool 2013-07-05 10:46:19 -04:00
Marc Siegel
96bb7a475d relax rake & rspec deps to allow newer versions 2012-11-29 09:32:25 -05:00
Marc Siegel
ace14c2346 bump out-of-date rspec dep to 2.11.0
Signed-off-by: Marc Siegel <marc@usainnov.com>
2012-10-29 16:14:51 -04:00
Marc Siegel
10cf6ed254 explicitly require rspec for travis
Signed-off-by: Marc Siegel <marc@usainnov.com>
2012-10-29 16:03:08 -04:00
Marc Siegel
f136db9fa9 explicitly require rake for travis
Signed-off-by: Marc Siegel <marc@usainnov.com>
2012-10-29 15:59:08 -04:00
Marc Siegel
bb6f55cf34 exclude development dependencies from travis
Signed-off-by: Marc Siegel <marc@usainnov.com>
2012-10-29 15:52:57 -04:00
Marc Siegel
1b225c8a27 initial commit 2011-12-06 13:51:56 -05:00