mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-22 06:15:02 +01:00
Alan Orth
b359c2466f
I didn't realize these LXD containers are not available on AMD64. Now I understand why the build was so slow: because it was ARM64!
25 lines
624 B
YAML
25 lines
624 B
YAML
dist: bionic
|
|
language: python
|
|
python:
|
|
- "3.6"
|
|
- "3.7"
|
|
- "3.8"
|
|
- "3.8-dev" # 3.8 development branch
|
|
jobs:
|
|
allow_failures:
|
|
- python: "3.8-dev"
|
|
addons:
|
|
postgresql: "10"
|
|
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 -r requirements.txt"
|
|
- "pip install -r requirements-dev.txt"
|
|
script: pytest
|
|
|
|
# vim: ts=2 sw=2 et
|