aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-01-24 14:20:41 +0100
committerMartin Polden <mpolden@mpolden.no>2021-01-24 14:20:57 +0100
commitb185c4c04ab8174a4165812985f1000f92f375a1 (patch)
tree07a4d96a3d7cefcb1a2ee11a5ac749d14fcf4025
parentdbe32e072cd29689aa3b2b56a459ec8c84da43b4 (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 efe31a4..a05db1f 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# ghm
-[![Build Status](https://travis-ci.org/mpolden/ghm.svg)](https://travis-ci.org/mpolden/ghm)
+![Build Status](https://github.com/mpolden/ghm/workflows/ci/badge.svg)
A backup tool for GitHub repositories.