.travis.yml
45 lines
| 1.2 KiB
| text/x-yaml
|
YamlLexer
r137 | language: python | |||
dist: xenial | ||||
notifications: | ||||
on_success: change | ||||
on_failure: always | ||||
matrix: | ||||
include: | ||||
- python: 3.5 | ||||
r170 | env: TOXENV=py35 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz | |||
r137 | - python: 3.6 | |||
r170 | env: TOXENV=py36 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz | |||
r137 | addons: | |||
postgresql: "9.6" | ||||
- python: 3.6 | ||||
r170 | env: TOXENV=py36 PGPORT=5432 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz | |||
r137 | addons: | |||
postgresql: "10" | ||||
apt: | ||||
packages: | ||||
- postgresql-10 | ||||
- postgresql-client-10 | ||||
install: | ||||
r170 | - wget ${ES_DOWNLOAD_URL} | |||
r171 | - tar -xzf elasticsearch-oss-${ES_VERSION}.tar.gz | |||
r173 | - ./elasticsearch-${ES_VERSION}/bin/elasticsearch & | |||
r137 | - travis_retry pip install -U setuptools pip tox | |||
script: | ||||
r174 | - travis_retry tox -- -vv | |||
r137 | ||||
services: | ||||
- postgresql | ||||
r140 | - 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 | ||||