language: python
python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "pypy"
addons:
  postgresql: "9.3"
before_install:
  - CONFIG_FILE=$(sudo -u postgres psql postgres -c "SHOW config_file;" -q -t | head -1)
  - 'CONFIG_FILE="${CONFIG_FILE:1}"'
  - echo "max_prepared_transactions = 10" | sudo tee -a "$CONFIG_FILE"
  - sudo cat "$CONFIG_FILE"
  - sudo service postgresql restart 9.3
install:
  - python setup.py sdist --formats=zip
  - pip install dist/*.zip
  - pip install coveralls
before_script:
  - psql template1 -c 'CREATE EXTENSION "uuid-ossp";' -U postgres
  - psql -c 'CREATE DATABASE test_yithlibrary;' -U postgres
script:
  - coverage run --source=yithlibraryserver setup.py test
after_success:
  - coveralls
services:
  - postgresql

language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "pypy"
addons:
  postgresql: "9.3"
before_install:
  - CONFIG_FILE=$(sudo -u postgres psql postgres -c "SHOW config_file;" -q -t | head -1)
  - 'CONFIG_FILE="${CONFIG_FILE:1}"'
  - echo "max_prepared_transactions = 10" | sudo tee -a "$CONFIG_FILE"
  - sudo cat "$CONFIG_FILE"
  - sudo service postgresql restart 9.3
install:
  - python setup.py sdist --formats=zip
  - pip install dist/*.zip
  - pip install coveralls
before_script:
  - psql template1 -c 'CREATE EXTENSION "uuid-ossp";' -U postgres
  - psql -c 'CREATE DATABASE test_yithlibrary;' -U postgres
script:
  - coverage run --source=yithlibraryserver setup.py test
after_success:
  - coveralls
services:
  - postgresql

Remove Python 2.6 from Travis too
Remove Python 2.6 from Travis too
