aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-01-24 14:24:28 +0100
committerMartin Polden <mpolden@mpolden.no>2021-01-24 14:24:28 +0100
commit1ef2326746bd0e4d53dc67e37cb0c6aa4c9c867c (patch)
treed9e1c3655aeedd6199b640d6d333f3f77639a377
parent1b9ee61fc0c5070d77518c252fe414ae7f43555d (diff)
build: Configure GitHub Actions
-rw-r--r--.github/workflows/ci.yml19
-rw-r--r--.travis.yml7
-rw-r--r--README.md2
3 files changed, 20 insertions, 8 deletions
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).