From 64df42e3a290aaf4d568ecfaacac08e5a67dc238 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 2 Feb 2021 12:15:20 -0800 Subject: [PATCH] use github actions for tests --- .github/workflows/test.yml | 18 ++++++++++++++++++ .travis.yml | 16 ---------------- 2 files changed, 18 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..65e2b2c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +on: [push, pull_request] +name: Test +jobs: + test: + strategy: + matrix: + go-version: [1.15.x] + os: [ubuntu-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: Test + run: go test ./... diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index afe29cb..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -arch: - - amd64 - - ppc64le - -language: go - -go: - - 1.7 - - tip - -script: - - go test - -matrix: - allow_failures: - - go: tip