mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-22 14:25:01 +01:00
Alan Orth
60689d9014
Makes for cleaner logs. See: https://docs.travis-ci.com/user/environment-variables/ See: https://man.sr.ht/builds.sr.ht/manifest.md
24 lines
599 B
YAML
24 lines
599 B
YAML
dist: xenial
|
|
language: python
|
|
python:
|
|
- "3.5"
|
|
- "3.6"
|
|
- "3.7"
|
|
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:
|
|
- "pip install pipenv --upgrade-strategy=only-if-needed"
|
|
- "pipenv install --dev"
|
|
script: pytest
|
|
env:
|
|
- PIPENV_NOSPIN=True
|
|
- PIPENV_HIDE_EMOJIS=True
|
|
|
|
# vim: ts=2 sw=2 et
|