sudo: required
dist: trusty
language: c
env:
  - PGVERSION=9.2
  - PGVERSION=9.3
  - PGVERSION=9.4
  - PGVERSION=9.5
before_script:
  - export PATH=/usr/lib/postgresql/$PGVERSION/bin:$PATH     # Add our chosen PG version to the path
  - sudo /etc/init.d/postgresql stop                         # Stop whichever version of PG that travis started
  - sudo /etc/init.d/postgresql start $PGVERSION             # Start the version of PG that we want to test
  - sudo apt-get update -qq                                  # Retrieves new list of packages
  - sudo apt-get install postgresql-server-dev-$PGVERSION    # Required for PGXS
  - sudo apt-get install postgresql-common                   # Required for extension support files
  - createdb hll_regress                                     # Create the test database
script:
  - make && sudo make install
  - psql -c "create extension hll" hll_regress
  - make -C regress

sudo: required
dist: trusty
language: c
env:
  - PGVERSION=9.2
  - PGVERSION=9.3
  - PGVERSION=9.4
  - PGVERSION=9.5
  - PGVERSION=9.6
before_script:
  - export PATH=/usr/lib/postgresql/$PGVERSION/bin:$PATH     # Add our chosen PG version to the path
  - sudo /etc/init.d/postgresql stop                         # Stop whichever version of PG that travis started
  - sudo /etc/init.d/postgresql start $PGVERSION             # Start the version of PG that we want to test
  - sudo apt-get update -qq                                  # Retrieves new list of packages
  - sudo apt-get install postgresql-server-dev-$PGVERSION    # Required for PGXS
  - sudo apt-get install postgresql-common                   # Required for extension support files
  - createdb hll_regress                                     # Create the test database
script:
  - make && sudo make install
  - psql -c "create extension hll" hll_regress
  - make -C regress

Add PostgreSQL 9.6 to the test matrix
Add PostgreSQL 9.6 to the test matrix
