Skip to content

Commit

Permalink
Finalize 1.4 release
Browse files Browse the repository at this point in the history
- Use GitHub Actions
  - Exclude windows code from non-windows tests
  - Exclude unsupported windows tests and allow windows failures for now
    because of line-ending differences
- Remove Travis configuration
  • Loading branch information
halostatue committed Jun 23, 2020
1 parent fbbe93f commit c93cafb
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 36 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -17,11 +17,11 @@ jobs:
test:
strategy:
matrix:
os:
os:
- ubuntu
- macos
- windows
ruby:
ruby:
- 2.5
- 2.6
- 2.7
Expand All @@ -33,8 +33,23 @@ jobs:
- jruby-head
- truffleruby
- truffleruby-head
exclude:
- os: macos
ruby: mingw
- os: macos
ruby: mswin
- os: ubuntu
ruby: mingw
- os: ubuntu
ruby: mswin
- os: windows
ruby: debug
- os: windows
ruby: truffleruby
- os: windows
ruby: truffleruby-head
runs-on: ${{ matrix.os }}-latest
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' || matrix.os == 'windows' }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
Expand Down
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

5 changes: 2 additions & 3 deletions README.rdoc
Expand Up @@ -4,8 +4,7 @@ home :: https://github.com/halostatue/diff-lcs
code :: https://github.com/halostatue/diff-lcs
bugs :: https://github.com/halostatue/diff-lcs/issues
rdoc :: http://rubydoc.info/github/halostatue/diff-lcs
continuous integration :: {<img src="https://travis-ci.org/halostatue/diff-lcs.svg" />}[https://travis-ci.org/halostatue/diff-lcs]
test coverage :: {<img src="https://coveralls.io/repos/halostatue/diff-lcs/badge.svg" alt="Coverage Status" />}[https://coveralls.io/r/halostatue/diff-lcs]
continuous integration :: {<img src="https://github.com/halostatue/diff-lcs/workflows/CI/badge.svg" />}[https://github.com/halostatue/diff-lcs/actions]

== Description

Expand All @@ -15,7 +14,7 @@ to create a simple HTML diff output format and a standard diff-like tool.

This is release 1.4, providing a simple extension that allows for
Diff::LCS::Change objects to be treated implicitly as arrays. Ruby versions
below 2.3 are soft-deprecated.
below 2.5 are soft-deprecated.

This means that older versions are no longer part of the CI test suite. If any
changes have been introduced that break those versions, bug reports and patches
Expand Down
2 changes: 0 additions & 2 deletions Rakefile
Expand Up @@ -48,6 +48,4 @@ if RUBY_VERSION >= '2.0' && RUBY_ENGINE == 'ruby'
Rake::Task['spec'].execute
end
end

# Rake::Task['travis'].prerequisites.replace(%w(spec:coveralls))
end
5 changes: 1 addition & 4 deletions spec/spec_helper.rb
Expand Up @@ -4,10 +4,7 @@
require 'pathname'
require 'psych'

if ENV['COVERALLS']
require 'coveralls'
Coveralls.wear!
elsif ENV['COVERAGE']
if ENV['COVERAGE']
require 'simplecov'

def require_do(resource)
Expand Down

0 comments on commit c93cafb

Please sign in to comment.