diff options
-rw-r--r-- | .github/workflows/test.yml | 38 | ||||
-rw-r--r-- | .travis.yml | 24 |
2 files changed, 38 insertions, 24 deletions
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 |