.travis.yml
43 lines
| 735 B
| text/x-yaml
|
YamlLexer
r137 | language: python | |||
dist: xenial | ||||
notifications: | ||||
on_success: change | ||||
on_failure: always | ||||
matrix: | ||||
include: | ||||
- python: 3.5 | ||||
env: TOXENV=py35 | ||||
- python: 3.6 | ||||
r140 | env: TOXENV=py36 | |||
r137 | addons: | |||
postgresql: "9.6" | ||||
- python: 3.6 | ||||
r140 | env: TOXENV=py36 PGPORT=5432 | |||
r137 | addons: | |||
postgresql: "10" | ||||
apt: | ||||
packages: | ||||
- postgresql-10 | ||||
- postgresql-client-10 | ||||
install: | ||||
- travis_retry pip install -U setuptools pip tox | ||||
script: | ||||
- travis_retry tox | ||||
services: | ||||
- postgresql | ||||
r140 | - elasticsearch | |||
- redis | ||||
r137 | ||||
before_script: | ||||
r140 | - psql -c "create user test with encrypted password 'test';" -U postgres | |||
- psql -c 'create database appenlight_test owner test;' -U postgres | ||||
r137 | ||||
after_success: | ||||
- pip install coveralls | ||||
- coveralls | ||||