Skip to content

Commit 7d9d45f

Browse files
authored
Merge pull request #230 from prometheus/superq/circleci
Convert to CircleCI for build testing
2 parents 45571a9 + 8bc5511 commit 7d9d45f

3 files changed

Lines changed: 33 additions & 13 deletions

File tree

.circleci/config.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
version: 2.1
3+
4+
jobs:
5+
test:
6+
parameters:
7+
ruby_image:
8+
type: string
9+
10+
docker:
11+
- image: << parameters.ruby_image >>
12+
13+
steps:
14+
- checkout
15+
- run: if [[ "$(ruby -e 'puts RUBY_VERSION')" != 1.* ]]; then gem update --system; fi
16+
- run: bundle install
17+
- run: bundle exec rake
18+
19+
workflows:
20+
version: 2
21+
client_ruby:
22+
jobs:
23+
- test:
24+
matrix:
25+
parameters:
26+
ruby_image:
27+
- cimg/ruby:2.5
28+
- cimg/ruby:2.6
29+
- cimg/ruby:2.7
30+
- cimg/ruby:3.0
31+
- circleci/jruby:9.1
32+
- circleci/jruby:9.2

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ through a HTTP interface. Intended to be used together with a
55
[Prometheus server][1].
66

77
[![Gem Version][4]](http://badge.fury.io/rb/prometheus-client)
8-
[![Build Status][3]](http://travis-ci.org/prometheus/client_ruby)
8+
[![Build Status][3]](https://circleci.com/gh/prometheus/client_ruby/tree/master.svg?style=svg)
99
[![Coverage Status][7]](https://coveralls.io/r/prometheus/client_ruby)
1010

1111
## Usage

0 commit comments

Comments
 (0)