From 1ef2326746bd0e4d53dc67e37cb0c6aa4c9c867c Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Sun, 24 Jan 2021 14:24:28 +0100 Subject: build: Configure GitHub Actions --- .github/workflows/ci.yml | 19 +++++++++++++++++++ .travis.yml | 7 ------- README.md | 2 +- 3 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d4aae76 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: ci + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: install go + uses: actions/setup-go@v2 + with: + go-version: 1.15 + - name: build and test + run: make diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0986ccc..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: go - -go: - - stable - -env: - - GO111MODULE=on diff --git a/README.md b/README.md index dcc4e65..582017e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # lftpq -[![Build Status](https://travis-ci.org/mpolden/lftpq.svg)](https://travis-ci.org/mpolden/lftpq) +![Build Status](https://github.com/mpolden/lftpq/workflows/ci/badge.svg) A queue generator for [lftp](https://lftp.yar.ru). -- cgit v1.2.3