From a2890a5f06817d250a614d5f272afad908005cb6 Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Mon, 10 Apr 2023 15:23:28 +0100 Subject: Replace Travis with GitHub CI. * .github/workflows/test.yml: New file. * .travis.yml: Delete file. --- .github/workflows/test.yml | 38 ++++++++++++++++++++++++++++++++++++++ .travis.yml | 24 ------------------------ 2 files changed, 38 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..4ad449e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,38 @@ +name: CI +on: [push, pull_request] +permissions: {} + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + emacs_version: + - 24.3 + - 24.4 + - 24.5 + - 25.1 + - 25.2 + - 25.3 + - 26.1 + - 26.2 + - 26.3 + - 27.1 + - 27.2 + - 28.1 + - 28.2 + - release-snapshot + - snapshot + + steps: + - uses: actions/checkout@v3 + with: + persist-credentials: false + + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + + - run: make all + - run: make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bb28881..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -sudo: false -language: generic -env: - global: - - CURL="curl -fsSkL --retry 9 --retry-delay 9" - - GHRAW="https://raw.githubusercontent.com" - matrix: - - EMACS_VERSION=26.3 - - EMACS_VERSION=master - allow_failures: - - env: EMACS_VERSION=master - -install: - - $CURL -O https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz - - tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C / - - export EMACS=/tmp/emacs/bin/emacs - -script: - make test EMACS=${EMACS} - -notifications: - email: - on_success: never - on_failure: always -- cgit v1.2.3