branch: externals/load-relative commit 590c816d7a9119f1fdf95e9deb6816ceca5beb73 Merge: 85b88d6fbf 7a90146364 Author: R. Bernstein <ro...@users.noreply.github.com> Commit: GitHub <nore...@github.com>
Merge pull request #9 from rocky/try-workflows Create main.yml --- .github/workflows/main.yml | 34 ++++++++++++++++++++++++++++++++++ .travis.yml | 17 ----------------- README.md | 2 +- 3 files changed, 35 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..ec3018e50d --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,34 @@ +# This is a basic workflow to help you get started with Actions +name: Emacs CI + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Install dependencies + run: sudo apt-get update -qq && sudo apt-get install -qq emacs + + # Runs a set of commands using the runners shell + - name: Run test + run: | + /bin/bash ./autogen.sh && cd test && make check diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 56d628510f..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: emacs-lisp - - -install: - - if [ "$EMACS" = 'emacs24' ]; then - sudo add-apt-repository -y ppa:cassou/emacs && - sudo apt-get -qq update && - sudo apt-get -qq -f install && - sudo apt-get -qq install emacs24 emacs24-el; - fi - -env: - - EMACS=emacs24 - -# run the tests -script: - - /bin/bash ./autogen.sh && cd test && make check diff --git a/README.md b/README.md index afb6290665..f7e1d5a087 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[](https://travis-ci.org/rocky/emacs-load-relative) + # Emacs multi-file develop/run-from-of-source routines