1
0
mirror of https://github.com/meineerde/rackstash.git synced 2025-10-17 14:01:01 +00:00

Drop all externel CI services in favor of Github Actions

This commit is contained in:
Holger Just 2020-07-23 21:17:19 +02:00
parent 40f08f6acd
commit 596abee168
3 changed files with 2 additions and 127 deletions

View File

@ -1,59 +0,0 @@
# Copyright 2017 - 2019 Holger Just
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE.txt file for details.
language: ruby
sudo: false
cache: bundler
matrix:
include:
# Latest Rubies on top
- rvm: 2.7.1
env: COVERAGE=true
- rvm: jruby-9.2.12.0
- rvm: truffleruby-20.1.0
# Older versions
- rvm: 2.6.6
- rvm: 2.5.8
- rvm: 2.4.10
- rvm: 2.3.7
- rvm: 2.2.10
- rvm: 2.1.10
# An older Ruby/Rack combination as used by Rails 3.2. As long as it works
# with our required Ruby version, we want to support it.
- rvm: 2.1.10
env: RACK_VERSION=1.4.5
# Older JRuby version
- rvm: jruby-9.1.17.0
jdk: openjdk8
# HEAD-Rubies (might break)
- rvm: ruby-head
- rvm: jruby-head
- rvm: truffleruby-head
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: truffleruby-20.1.0
- rvm: truffleruby-head
before_install:
# Bundler 2.0 requires at least Ruby 2.3. We need to explicitly install an
# older version of bundler for older Ruby versions since they can't / won't
# check their required versions on their own.
- |
if [[ "$(rvm current)" =~ ^ruby-2\.[012] ]]; then
gem install bundler -v '< 2.0'
else
gem install bundler
fi
script:
- bundle exec rspec

View File

@ -1,7 +1,7 @@
# Rackstash
[![Gem Version](https://badge.fury.io/rb/rackstash.svg)](https://rubygems.org/gems/rackstash)
[![Build Status](https://travis-ci.org/meineerde/rackstash.svg?branch=master)](http://travis-ci.org/meineerde/rackstash)
[]![CI](https://github.com/meineerde/rackstash/workflows/CI/badge.svg)](https://github.com/meineerde/rackstash/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/github/meineerde/rackstash/badge.svg?branch=master)](https://coveralls.io/github/meineerde/rackstash?branch=master)
**Note: This gem is still work in progress. It is not yet usable and does not support any end-to-end logging. The good news is that we are working on that :)**
@ -98,4 +98,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/meinee
## License
The gem is available as open source under the terms of the [MIT License](LICENSE.txt).

View File

@ -1,65 +0,0 @@
version: "{build}-{branch}"
environment:
matrix:
- RUBY_VERSION: "26-x64"
- RUBY_VERSION: "25-x64"
- RUBY_VERSION: "24-x64"
- RUBY_VERSION: "23-x64"
- RUBY_VERSION: "22-x64"
- RUBY_VERSION: "21-x64"
- RUBY_VERSION: trunk
- RUBY_VERSION: jruby-9.2.12.0
- RUBY_VERSION: jruby-9.1.17.0
matrix:
allow_failures:
- ruby_version: _trunk
init:
# To avoid duplicated executables in PATH, see https://github.com/ruby/spec/pull/468
- set PATH=C:\Program Files\7-Zip;C:\Program Files\AppVeyor\BuildAgent;C:\Program Files\Git\cmd;C:\Windows\system32;C:\Program Files;C:\Windows
- ps: |
# Loads trunk build and updates MSYS2 / MinGW to most recent gcc compiler
if ($env:RUBY_VERSION -eq 'trunk') {
$trunk_uri = 'https://ci.appveyor.com/api/projects/MSP-Greg/ruby-loco/artifacts/ruby_trunk.7z'
(New-Object Net.WebClient).DownloadFile($trunk_uri, 'C:\ruby_trunk.7z')
7z.exe x C:\ruby_trunk.7z -oC:\Ruby_trunk
$env:PATH = "C:\Ruby_trunk\bin;" + $env:PATH
}
ElseIf ($env:RUBY_VERSION.StartsWith("jruby-")) {
# Load and install JRuby
$jruby_version = $env:RUBY_VERSION.split("-")[1]
$jruby_uri = "https://s3.amazonaws.com/jruby.org/downloads/$jruby_version/jruby-bin-$jruby_version.zip"
(New-Object Net.WebClient).DownloadFile($jruby_uri, "C:\JRuby-$jruby_version.zip")
7z.exe x "C:\JRuby-$jruby_version.zip" -oC:\
$env:PATH = "C:\jruby-$jruby_version\bin;" + $env:PATH
gem install bundler
}
Else {
$env:PATH = "C:\Ruby" + $env:RUBY_VERSION + "\bin;" + $env:PATH
}
- systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
- ps: if ($env:RUBY_VERSION.StartsWith("jruby-")) { jruby -v } else { ruby -v }
- gem -v
- bundle -v
install:
# Create suitable directory for temporary files in tests
- mkdir tmp
- icacls tmp /inheritance:r /grant Everyone:F
- set TMPDIR=tmp
- bundle config --local path vendor/bundle
- bundle install
clone_depth: 10
build: off
deploy: off
test_script:
- bundle exec rspec spec