2019-02-07 16:41:36 +01:00
|
|
|
dist: xenial
|
2018-09-25 10:08:01 +02:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "3.5"
|
|
|
|
- "3.6"
|
2019-02-07 16:41:36 +01:00
|
|
|
- "3.7"
|
2018-11-11 15:38:02 +01:00
|
|
|
addons:
|
|
|
|
postgresql: "9.5"
|
2018-11-11 15:35:28 +01: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 15:13:30 +01:00
|
|
|
install:
|
|
|
|
- "pip install pipenv --upgrade-strategy=only-if-needed"
|
|
|
|
- "pipenv install --dev"
|
|
|
|
script: pytest
|
2018-09-25 10:08:01 +02:00
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et
|