Skip to content

Commit

Permalink
Merge pull request #64 from shogo82148/migrate-github-actions
Browse files Browse the repository at this point in the history
migrate from travis-ci to GitHub Actions
  • Loading branch information
mattn committed Jul 22, 2021
2 parents 712ea5b + 56b25a0 commit bea4d7c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 14 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,36 @@
name: test
on:
push:
pull_request:

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
go:
- '1.16'
- '1.15'
- '1.14'
- '1.13'
steps:
- uses: actions/setup-go@v2
with:
go-versions: ${{ matrix.go }}
- uses: actions/checkout@v2
- name: test
shell: bash
run: |
./go.test.sh
- name: upload the coverage
uses: codecov/codecov-action@v2
with:
env_vars: OS,GO
env:
OS: ${{ matrix.os }}
GO: ${{ matrix.go }}
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit bea4d7c

Please sign in to comment.