diff options
| -rw-r--r-- | .github/workflows/test.yml | 35 | ||||
| -rw-r--r-- | .travis.yml | 30 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | README.md | 2 |
4 files changed, 37 insertions, 32 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..55c0f8a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,35 @@ +name: CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + emacs_version: + - 24.5 + - 25.3 + - 26.3 + - 27.1 + - snapshot + steps: + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + + - uses: actions/checkout@v2 + + - name: Print emacs version + run: | + emacs --version + + - name: Run tests + run: | + make test + + - name: Print results + if: ${{ always() }} + run: | + cat test-results.txt diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 672187c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ -language: nix - -os: - - linux - -env: - - EMACS_CI=emacs-24-5 - - EMACS_CI=emacs-25-3 - - EMACS_CI=emacs-26-3 - - EMACS_CI=emacs-27-1 - - EMACS_CI=emacs-snapshot - -matrix: - allow_failures: - - env: EMACS_CI=emacs-snapshot - -install: - - bash <(curl https://raw.githubusercontent.com/purcell/nix-emacs-ci/master/travis-install) - -script: - - emacs --version - - script -eqc 'make test' > /dev/null - -after_script: - - cat test-results.txt - -notifications: - email: - on_success: never - on_failure: always @@ -56,7 +56,7 @@ clean: # make test TAG=repeat # This will only run tests pertaining to the repeat system. test: - $(EMACS) -nw -Q -L . $(LIBS) -l evil-tests.el \ + $(EMACS) -nw -Q --batch -L . $(LIBS) -l evil-tests.el \ --eval "(evil-tests-initialize '(${TAG}) '(${PROFILER}))" # Byte-compile Evil and run all tests. @@ -1,6 +1,6 @@  -[](https://travis-ci.org/emacs-evil/evil) +[](https://github.com/emacs-evil/evil/actions/workflows/test.yml) [](https://melpa.org/#/evil) [](https://stable.melpa.org/#/evil) [](https://evil.readthedocs.io/en/latest/?badge=latest) |
