From 9272013e464d294d7e7944841cce98a93fce923d Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Mon, 20 Sep 2021 10:31:18 +0900 Subject: [PATCH 1/3] Add github actions ci --- .github/workflows/build.yaml | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..35245b9 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,40 @@ +--- +name: build + +on: + push: + branches: + - master + pull_request: + types: [opened, synchronize] + branches: + - 'master' + release: + types: [published] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + emacs_version: + - "24.5" + - "25.3" + - "26.3" + - "27.1" + experimental: [false] + include: + - emacs_version: snapshot + experimental: true + continue-on-error: ${{ matrix.experimental }} + steps: + - name: Checkout + uses: actions/checkout@v1 + with: + submodules: recursive + - name: Setup Emacs + uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + - name: Run tests + run: make check From d5548d5683e4d0528e4ab5e1476e4911a2165846 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Mon, 20 Sep 2021 10:31:29 +0900 Subject: [PATCH 2/3] Remove travis.yml --- .travis.yml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 797b06c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: nix - -env: - - EMACS_CI=emacs-24.5 - - EMACS_CI=emacs-25.3 - - EMACS_CI=emacs-26-3 - - EMACS_CI=emacs-snapshot - -install: - - bash <(curl https://raw.githubusercontent.com/purcell/nix-emacs-ci/master/travis-install) - - emacs --version - -script: make test From bad4f961231a1f676f7500c624f40aaf5f3cfe66 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Mon, 20 Sep 2021 10:34:03 +0900 Subject: [PATCH 3/3] Replace status badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e6dcf50..6096926 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/10sr/with-venv-el.svg?branch=master)](https://travis-ci.org/10sr/with-venv-el) +[![build](https://github.com/10sr/with-venv-el/actions/workflows/build.yaml/badge.svg)](https://github.com/10sr/with-venv-el/actions/workflows/build.yaml) [![MELPA](https://melpa.org/packages/with-venv-badge.svg)](https://melpa.org/#/with-venv) [![MELPA Stable](https://stable.melpa.org/packages/with-venv-badge.svg)](https://stable.melpa.org/#/with-venv)