2020-10-29 00:11:28 +03:00
|
|
|
dist: bionic
|
2018-09-25 11:08:01 +03:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "3.6"
|
2019-02-07 17:41:36 +02:00
|
|
|
- "3.7"
|
2019-11-15 00:46:04 +02:00
|
|
|
- "3.8"
|
2020-10-29 00:03:58 +03:00
|
|
|
- "3.9"
|
|
|
|
- "nightly"
|
2020-03-29 16:07:44 +03:00
|
|
|
jobs:
|
|
|
|
allow_failures:
|
2020-10-29 00:03:58 +03:00
|
|
|
- python: "nightly"
|
2018-11-11 16:38:02 +02:00
|
|
|
addons:
|
2020-03-29 16:19:08 +03:00
|
|
|
postgresql: "10"
|
2018-11-11 16:35:28 +02:00
|
|
|
before_script:
|
|
|
|
- psql --version
|
|
|
|
- createuser -U postgres dspacestatistics
|
|
|
|
- psql -U postgres -c "ALTER USER dspacestatistics WITH PASSWORD 'dspacestatistics'"
|
|
|
|
- createdb -U postgres -O dspacestatistics --encoding=UNICODE dspacestatistics
|
|
|
|
- psql -U postgres -d dspacestatistics < tests/dspacestatistics.sql
|
2018-11-11 16:13:30 +02:00
|
|
|
install:
|
2019-11-15 00:46:58 +02:00
|
|
|
- "pip install -r requirements.txt"
|
|
|
|
- "pip install -r requirements-dev.txt"
|
2018-11-11 16:13:30 +02:00
|
|
|
script: pytest
|
2018-09-25 11:08:01 +03:00
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et
|