Test solely on CircleCI, remove Travis

This commit is contained in:
Kyrylo Silin 2020-03-18 23:57:06 +08:00
parent c12064ef33
commit 2f125b3f34
3 changed files with 14 additions and 34 deletions

View File

@ -27,6 +27,7 @@ jobs:
- image: kyrylo/ruby-1.9.3p551
working_directory: /home/circleci/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit
@ -35,6 +36,7 @@ jobs:
- image: kyrylo/ruby-2.0.0p648
working_directory: /home/circleci/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit
@ -43,6 +45,7 @@ jobs:
- image: circleci/ruby:2.1
working_directory: ~/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit
@ -51,6 +54,7 @@ jobs:
- image: circleci/ruby:2.2
working_directory: ~/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit
@ -59,6 +63,7 @@ jobs:
- image: circleci/ruby:2.3
working_directory: ~/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit
@ -67,6 +72,7 @@ jobs:
- image: circleci/ruby:2.4
working_directory: ~/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit
@ -75,6 +81,7 @@ jobs:
- image: circleci/ruby:2.5
working_directory: ~/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit
@ -83,6 +90,7 @@ jobs:
- image: circleci/ruby:2.6
working_directory: ~/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit
@ -91,6 +99,7 @@ jobs:
- image: circleci/ruby:2.7.0
working_directory: ~/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit
@ -99,6 +108,7 @@ jobs:
- image: circleci/jruby:9.1-jdk
working_directory: ~/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit
@ -107,6 +117,7 @@ jobs:
- image: circleci/jruby:9.2-jdk
working_directory: ~/method_source
steps:
- checkout
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *unit

View File

@ -1,33 +0,0 @@
# To use rbx environment.
dist: trusty
bundler_args: "--verbose"
before_install:
- which bundle || gem install bundler
- gem update bundler
rvm:
- 1.8.7
- 1.9.3
- ree
- rbx-3
- jruby
- jruby-head
- "2.0"
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby
- rvm: jruby-head
- rvm: rbx-3
fast_finish: true
notifications:
irc: "irc.freenode.org#pry"
recipients:
- jrmair@gmail.com

View File

@ -1,6 +1,8 @@
method_source [![Build Status](https://travis-ci.org/banister/method_source.svg?branch=master)](https://travis-ci.org/banister/method_source)
method_source
=============
[![Circle Build Status](https://circleci.com/gh/banister/method_source.svg?style=shield)](https://circleci.com/gh/banister/method_source)
(C) John Mair (banisterfiend) 2011
_retrieve the sourcecode for a method_