File: .travis.yml

package info (click to toggle)
ip4r 2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,108 kB
  • sloc: ansic: 6,552; sql: 4,324; makefile: 88; sed: 21; sh: 7
file content (42 lines) | stat: -rw-r--r-- 892 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

addons:
  apt:
    sources:
    - sourceline: "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main 11"
      key_url: "https://www.postgresql.org/media/keys/ACCC4CF8.asc"

before_install:
  - sudo /etc/init.d/postgresql stop
  - sudo apt-get -y --purge remove postgresql libpq-dev libpq5 postgresql-client-common postgresql-common
  - sudo rm -rf /var/lib/postgresql
  - sudo apt-get update -qq
  - sudo apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::="--force-confnew" install postgresql-${PG:?} postgresql-server-dev-${PG:?}

before_script:
  - sudo -u postgres createuser -s "$USER"

env:
  matrix:
    - PG=9.2
    - PG=9.3
    - PG=9.4
    - PG=9.5
    - PG=9.6
    - PG=10
    - PG=11

dist: trusty

sudo: required

language: c

compiler:
  - gcc

script:
  - make && sudo make install && make installcheck

after_script:
  - cat regression.diffs || true