# Travis CI configuration file for psycopg2

dist: focal
sudo: required

env:
  - PGVER=14
  - PGVER=13
  - PGVER=12
  - PGVER=11
  - PGVER=10
  # Disabled because packages broken at least on xenial
  # https://www.postgresql.org/message-id/CA%2Bmi_8a1oEnCzkt0CvqysgY4MQ6jEefjmS%3Dq_K-AvOx%3DF7m2%2BQ%40mail.gmail.com
  - PGVER=9.6
  - PGVER=9.5
  - PGVER=9.4

install:
  - source regress/travis_prepare.sh
  - make
  - sudo make install

script:
  - regress/travis_test.sh

notifications:
  email: false
