diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d4aaec9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: CI +on: [push, pull_request] +jobs: + test: + strategy: + matrix: + pg: [17, 16, 15, 14, 13, 12, 11, 10] + name: 🐘 PostgreSQL ${{ matrix.pg }} + runs-on: ubuntu-latest + container: pgxn/pgxn-tools + steps: + - name: Start PostgreSQL ${{ matrix.pg }} + run: pg-start ${{ matrix.pg }} + - name: Check out the repo + uses: actions/checkout@v4 + - name: Test on PostgreSQL ${{ matrix.pg }} + run: pg-build-test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index fb1b813..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: c -before_install: - - wget https://gist.github.com/petere/5893799/raw/apt.postgresql.org.sh - - wget https://gist.github.com/petere/6023944/raw/pg-travis-test.sh - - sudo sh ./apt.postgresql.org.sh -env: - - PGVERSION=9.1 - - PGVERSION=9.2 - - PGVERSION=9.3 - - PGVERSION=9.4 - - PGVERSION=9.5 -script: bash ./pg-travis-test.sh diff --git a/README.md b/README.md index 5fa3563..fafece8 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,8 @@ A system for managing unit test data in Postgres. Documentation for the most recent version is on [PGXN](http://pgxn.org/dist/test_factory/doc/test_factory.html). -Current Status -============== -You can see the current status of *released* versions of this extension on [PGXN-tester](http://pgxn-tester.org/distributions/test_factory). - -Travis-CI status: [![Build Status](https://travis-ci.org/BlueTreble/test_factory.png)](https://travis-ci.org/BlueTreble/test_factory) +[![PGXN version](https://badge.fury.io/pg/test_factory.svg)](https://badge.fury.io/pg/test_factory) +[![🐘 Postgres](https://github.com/decibel/test_factory/actions/workflows/ci.yml/badge.svg)](https://github.com/decibel/test_factory/actions/workflows/ci.yml) Easy Installation =================