diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..70ebba89 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,37 @@ +name: CI + +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + racket_version: + - '6.9' + - '7.9' + - 'current' + include: + - racket_version: 'current' + allow_failure: true + name: Test Racket ${{ matrix.racket_version }} + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install Racket + uses: Bogdanp/setup-racket@v0.8 + with: + architecture: 'x64' + distribution: 'full' + version: ${{ matrix.racket_version }} + - name: Install Package + run: make install + - name: Check Deps + run: make check-deps + - name: Run Tests + run: make test + - name: CI Extra Checks + run: make ci-extra-checks diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2b38202f..00000000 --- a/.travis.yml +++ /dev/null @@ -1,64 +0,0 @@ -language: c - -# Optional: To use Travis CI's newer container infrastucture, -# un-comment the following line. (Also be sure RACKET_DIR is set to -# somewhere like ~/racket that doesn't require sudo.) -# -sudo: false - -env: - global: - # Supply a global RACKET_DIR environment variable. This is where - # Racket will be installed. A good idea is to use ~/racket because - # that doesn't require sudo to install and is therefore compatible - # with Travis CI's newer container infrastructure. - - RACKET_DIR=~/racket - matrix: - # Supply at least one RACKET_VERSION environment variable. This is - # used by the install-racket.sh script (run at before_install, - # below) to select the version of Racket to download and install. - # - # Supply more than one RACKET_VERSION (as in the example below) to - # create a Travis-CI build matrix to test against multiple Racket - # versions. - - RACKET_VERSION=6.3 - - RACKET_VERSION=6.4 - - RACKET_VERSION=6.5 - - RACKET_VERSION=6.6 - - RACKET_VERSION=6.7 - - RACKET_VERSION=6.8 - - RACKET_VERSION=6.9 - - RACKET_VERSION=6.10 - - RACKET_VERSION=6.11 - - RACKET_VERSION=6.12 - - RACKET_VERSION=7.0 - - RACKET_VERSION=7.1 - - RACKET_VERSION=7.2 - - RACKET_VERSION=7.3 - - RACKET_VERSION=7.4 - - RACKET_VERSION=7.5 - - RACKET_VERSION=7.6 - - RACKET_VERSION=7.7 - - RACKET_VERSION=HEAD - - RACKET_VERSION=HEADCS - -# You may want to test against certain versions of Racket, without -# having them count against the overall success/failure. -matrix: - allow_failures: - - env: RACKET_VERSION=HEAD - - env: RACKET_VERSION=HEADCS - # Fast finish: Overall build result is determined as soon as any of - # its rows have failed, or, all of its rows that aren't allowed to - # fail have succeeded. - fast_finish: true - -install: - - bash <(curl https://raw.githubusercontent.com/greghendershott/travis-racket/master/install-racket.sh) - - export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us - -script: - - make install - - make check-deps - - make test - - make ci-extra-checks diff --git a/README.md b/README.md index ae89964b..bca38132 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

Frog image by @Goug8888, used under Creative Commons license Attribution-NonCommercial-ShareAlike 2.0 Generic.

-[![Build Status](https://travis-ci.org/greghendershott/frog.svg?branch=master)](https://travis-ci.org/greghendershott/frog) +[![CI](https://github.com/greghendershott/frog/workflows/CI/badge.svg)](https://github.com/greghendershott/frog/actions) [![raco pkg install frog](https://img.shields.io/badge/raco_pkg_install-frog-aa00ff.svg)](http://pkgs.racket-lang.org/package/frog) [![MIT License](https://img.shields.io/badge/license-MIT-118811.svg)](frog/LICENSE) [![Documentation](https://img.shields.io/badge/Docs-Documentation-blue.svg)](http://docs.racket-lang.org/frog/index.html)