branch: elpa/logview commit 50ef9dcb42acdcfd18e88178395d888bec5a1ec5 Author: Paul Pogonyshev <pogonys...@gmail.com> Commit: Paul Pogonyshev <pogonys...@gmail.com>
Switch over to GitHub workflows, I'm fed up with Travis. --- .github/workflows/test.yml | 37 +++++++++++++++++++++++++++++++++++++ .travis.yml | 22 ---------------------- README.md | 2 +- 3 files changed, 38 insertions(+), 23 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..9702aebae9 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,37 @@ +name: CI + +on: + push: + paths-ignore: ['**.md', '**.adoc'] + pull_request: + paths-ignore: ['**.md', '**.adoc'] + +jobs: + test: + runs-on: ubuntu-latest + continue-on-error: ${{matrix.emacs_version == 'snapshot'}} + + strategy: + matrix: + emacs_version: ['24.4', + '25.1', '25.2', '25.3', + '26.1', '26.2', '26.3', + '27.1', + 'snapshot'] + + steps: + - name: Set up Emacs + uses: purcell/setup-emacs@master + with: + version: ${{matrix.emacs_version}} + + - name: Install Eldev + run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh + + - name: Check out the source code + uses: actions/checkout@v2 + + - name: Test the project + run: | + eldev -p -dtT -C test --expect 20 + eldev -dtT -C compile --set all --warnings-as-errors diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 12568aeedb..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: emacs-lisp -dist: trusty - -install: - - curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/travis-eldev-and-evm > x.sh && source ./x.sh - - evm install $EVM_EMACS --use - -env: - - EVM_EMACS=emacs-24.4-travis - - EVM_EMACS=emacs-24.5-travis - - EVM_EMACS=emacs-25.1-travis - - EVM_EMACS=emacs-25.2-travis - - EVM_EMACS=emacs-25.3-travis - - EVM_EMACS=emacs-26.1-travis - - EVM_EMACS=emacs-26.2-travis - - EVM_EMACS=emacs-26.3-travis - - EVM_EMACS=emacs-27.1-travis - -script: - - eldev -p -dtT test --expect 5 - # Also require that byte-compilation produces no warnings. - - eldev -dtT compile --set all --warnings-as-errors diff --git a/README.md b/README.md index b3c04c1c15..1357157b97 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [](https://github.com/doublep/logview/releases) [](http://stable.melpa.org/#/logview) [](http://melpa.org/#/logview) -[](http://travis-ci.org/doublep/logview) +[](https://github.com/doublep/logview/actions?query=workflow%3ACI) # Logview mode