Skip to content

Commit

Permalink
Initial github ci (#79)
Browse files Browse the repository at this point in the history
* chore: initial github ci

* chore: update build status badge
  • Loading branch information
waltjones authored Dec 14, 2020
1 parent ca6e340 commit e27f702
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 18 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Rollbar-go CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-16.04
strategy:
matrix:
go-version:
- '1.7'
- '1.8'
- '1.9'
- '1.10'
- '1.11'
- '1.12'
- '1.13'
- '1.14'
- '1.15'

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Install go
uses: actions/setup-go@v2
with:
node-version: ${{ matrix.go-version }}

- name: Run tests
run: go test
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# rollbar-go
[![Build Status](https://travis-ci.org/rollbar/rollbar-go.svg?branch=master)](https://travis-ci.org/rollbar/rollbar-go)
![Build Status](https://github.com/rollbar/rollbar-go/workflows/Rollbar-go%20CI/badge.svg?branch=master)

[Rollbar](https://rollbar.com) is a real-time exception reporting service for Go
and other languages. The Rollbar service will alert you of problems with your code
Expand All @@ -16,7 +16,7 @@ or allocated, we use the stack information from where the error was reported.
# Setup Instructions and Usage

1. [Sign up for a Rollbar account](https://rollbar.com/signup)
2. Follow the [Usage](https://docs.rollbar.com/docs/go#usage) example in our [Go SDK docs](https://docs.rollbar.com/docs/go)
2. Follow the [Usage](https://docs.rollbar.com/docs/go#usage) example in our [Go SDK docs](https://docs.rollbar.com/docs/go)
to get started for your platform.

# Documentation
Expand Down Expand Up @@ -54,4 +54,4 @@ and extended. Those two libraries diverged as features were added independently
official library is actually a fork of the Heroku fork with some git magic to make it appear as a
standalone repository along with all of that history. We then also went back to the original stvp
library and brought over most of the divergent changes. Since then we have moved forward to add more
functionality to this library and it is the recommended notifier for Go going forward.
functionality to this library and it is the recommended notifier for Go going forward.

0 comments on commit e27f702

Please sign in to comment.