Skip to content

Commit

Permalink
Switch from Travis-CI to GitHub actions (#1286)
Browse files Browse the repository at this point in the history
Travis-CI is dead. GitHub actions is the new hotness.
The minimally supported version is Go1.11 to make use of modules.
  • Loading branch information
dsnet committed Mar 3, 2021
1 parent acacf81 commit 78b1f09
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,22 @@
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: TestLatest
if: matrix.go-version == '1.16.x'
run: ./test.bash
- name: TestAll
if: matrix.go-version != '1.16.x'
run: go test ./...
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit 78b1f09

Please sign in to comment.