From 2518c5c5595e8f2eb5746977d8a98280e14d03b1 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Thu, 4 Mar 2021 16:22:50 +0900 Subject: [PATCH] use github action --- .github/workflows/main.yml | 14 ++++++++++++++ .travis.yml | 14 -------------- readme.md | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..4c1fda2 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,14 @@ +name: test +on: [push] + +jobs: + build: + name: test + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + steps: + - uses: actions/checkout@v2 + - run: go test -v ./bls + diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0858923..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -arch: -- amd64 -- arm64 -os: -- linux -- osx -osx_image: xcode11.3 - -language: go -go: -- 1.14.1 - -script: go test -v ./bls - diff --git a/readme.md b/readme.md index 6ef4b48..92b6a04 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -[![Build Status](https://api.travis-ci.com/herumi/bls-go-binary.svg?branch=master)](https://travis-ci.com/github/herumi/bls-go-binary) +[![Build Status](https://github.com/herumi/bls-go-binary/actions/workflows/main.yml/badge.svg)](https://github.com/herumi/bls-go-binary/actions/workflows/main.yml) # bls with compiled static library