Skip to content

Commit 0c0783b

Browse files
committed
Migrate from travis to github actions
1 parent 3ed0eae commit 0c0783b

File tree

3 files changed

+41
-41
lines changed

3 files changed

+41
-41
lines changed

.github/workflows/regression.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
defaults:
10+
run:
11+
shell: sh
12+
13+
strategy:
14+
matrix:
15+
pgversion: [ 9.5, 9.6, 10, 11, 12, 13, 14 ]
16+
17+
env:
18+
PGVERSION: ${{ matrix.pgversion }}
19+
20+
steps:
21+
- name: checkout
22+
uses: actions/checkout@v2
23+
24+
- name: install pg
25+
run: |
26+
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -v $PGVERSION -p -i
27+
sudo -u postgres createuser -s "$USER"
28+
29+
- name: build
30+
run: |
31+
make PROFILE="-Werror"
32+
sudo -E make install
33+
34+
- name: test
35+
run: |
36+
make installcheck
37+
38+
- name: show regression diffs
39+
if: ${{ failure() }}
40+
run: |
41+
cat regression.diffs

.travis.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ pre-built grammar files are used if only bison 2 is available).
1919

2020
[Changelog](NEWS.md)
2121

22-
[![Build Status](https://travis-ci.org/df7cb/postgresql-unit.svg?branch=master)](https://travis-ci.org/df7cb/postgresql-unit)
23-
2422
Features
2523
--------
2624

0 commit comments

Comments
 (0)