language: python
cache: pip
python:
  - "2.7"
  - "3.6"
  - "3.7"
  - "3.8"
addons:
  postgresql: "9.4"
services:
  - postgresql
# command to install dependencies
install:
  - pip install pre-commit
  - python setup.py install
  - pip install -r test_requirements.txt
  - pip install six --upgrade --ignore-installed
# command to prepare environment
before_script:
  - psql -c 'create database coaster_test;' -U postgres
  - python -c "import six; print('Six:', six.__version__)"
# command to run tests
script:
  - pre-commit run flake8 -a
  - ./runtests.sh
  - pip uninstall -y coaster
after_success:
  - coveralls
notifications:
  email: false
  slack:
    - hasgeek:HDCoMDj3T4ICB59qFFVorCG8
    - friendsofhasgeek:3bLViYSzhfaThJovFYCVD3fX

language: python
cache: pip
python:
  - "3.6"
  - "3.7"
  - "3.8"
services:
  - postgresql
# command to install dependencies
install:
  - pip install pre-commit
  - python setup.py install
  - pip install -r test_requirements.txt
  - pip install six --upgrade --ignore-installed
# command to prepare environment
before_script:
  - psql -c 'create database coaster_test;' -U postgres
  - python -c "import six; print('Six:', six.__version__)"
# command to run tests
script:
  - pre-commit run flake8 -a
  - ./runtests.sh
  - pip uninstall -y coaster
after_success:
  - coveralls
notifications:
  email: false
  slack:
    - hasgeek:HDCoMDj3T4ICB59qFFVorCG8
    - friendsofhasgeek:3bLViYSzhfaThJovFYCVD3fX

Drop Python 2.7 from Travis tests and upgrade PG
Drop Python 2.7 from Travis tests and upgrade PG
