1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-25 07:40:17 +01:00
dspace-statistics-api/.travis.yml

22 lines
547 B
YAML
Raw Normal View History

2019-11-14 22:57:46 +01:00
dist: bionic
2018-09-25 10:08:01 +02:00
language: python
python:
- "3.5"
- "3.6"
- "3.7"
2019-11-14 23:46:04 +01:00
- "3.8"
addons:
postgresql: "9.6"
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
install:
2019-11-14 23:46:58 +01:00
- "pip install -r requirements.txt"
- "pip install -r requirements-dev.txt"
script: pytest
2018-09-25 10:08:01 +02:00
# vim: ts=2 sw=2 et