language: python
python:
  - "3.6"
  - "3.5"
  - "3.4"

# command to install dependencies
install:
  - pip install -r requirements.txt
  - pip install coveralls

before_script:
  - psql -c 'create database travis_ci_test;' -U postgres

# run test
script:
  - coverage run --source=app -m py.test && coverage report
  - coveralls

services:
   - postgresql

addons:
  postgresql: "9.6"
  postgresql: "9.5"
  postgresql: "9.4"

after_success:
  - coveralls

env:
  - TEST_DATABASE_URI=postgresql://localhost/travis_ci_test

language: python
python:
  - "3.6"
  - "3.5"
  - "3.4"

# command to install dependencies
install:
  - pip install -r requirements.txt
  - pip install coveralls

before_script:
  - psql -c 'create database travis_ci_test;' -U postgres

# run test
script:
  - coverage run --source=app -m py.test && coverage report
  - coveralls

services:
   - postgresql

addons:
  postgresql: "9.6"
  postgresql: "9.5"
  postgresql: "9.4"

after_success:
  - coveralls

env:
  - TEST_DATABASE_URI=postgresql://localhost/travis_ci_test
  - jwt_token_secret="$##$%^##$#$#$##@dhskksdn^snsdn"

Add jwt secret token for tests
[FIX] Add jwt secret token for tests
