From b322d28a2ee05c8d2f5640b241bc3edd77dbb562 Mon Sep 17 00:00:00 2001 From: Alistair Hey Date: Thu, 5 Nov 2020 07:24:13 +0000 Subject: [PATCH] Upgrade to Github Actions and remove travis Remove travis and move to github actions Signed-off-by: Alistair Hey --- .github/workflows/only-ci.yaml | 17 +++++++++++++++++ .travis.yml | 16 ---------------- Makefile | 3 +++ README.md | 2 +- 4 files changed, 21 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/only-ci.yaml delete mode 100644 .travis.yml create mode 100644 Makefile diff --git a/.github/workflows/only-ci.yaml b/.github/workflows/only-ci.yaml new file mode 100644 index 00000000..2c1d7239 --- /dev/null +++ b/.github/workflows/only-ci.yaml @@ -0,0 +1,17 @@ +name: ci-only + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + with: + fetch-depth: 1 + - name: Make all + run: make all \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bdfb229c..00000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -sudo: required - -services: - - docker - -addons: - apt: - packages: - - docker-ce - -install: - -before_install: - -script: -- ./verify.sh \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..092eeb67 --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ + +all: + sh verify.sh \ No newline at end of file diff --git a/README.md b/README.md index 5872297e..638b5d49 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # OpenFaaS Classic templates -[![Build Status](https://travis-ci.org/openfaas/templates.svg?branch=master)](https://travis-ci.org/openfaas/templates) +[![Build Status](https://github.com/openfaas/templates/workflows/build/badge.svg?branch=master)](https://github.com/openfaas/templates/actions) To find out more about the OpenFaaS templates see the [faas-cli](https://github.com/openfaas/faas-cli).