From 8b924cf45089a27f05fb6cb0e62442cb14bbcb02 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 15 Dec 2020 09:38:51 +0200 Subject: [PATCH] Remove TravisCI config I will use other CIs since TravisCI changed their business model. --- .travis.yml | 25 ------------------------- README.md | 2 +- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ca50193..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -dist: bionic -language: python -python: - - "3.6" - - "3.7" - - "3.8" - - "3.9" - - "nightly" -jobs: - allow_failures: - - python: "nightly" -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 diff --git a/README.md b/README.md index 1350e36..718dde5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# DSpace Statistics API [![Build Status](https://travis-ci.com/ilri/dspace-statistics-api.svg?branch=master)](https://travis-ci.com/ilri/dspace-statistics-api) [![builds.sr.ht status](https://builds.sr.ht/~alanorth/dspace-statistics-api.svg)](https://builds.sr.ht/~alanorth/dspace-statistics-api?) +# DSpace Statistics API [![Build Status](https://ci.mjanja.ch/api/badges/alanorth/dspace-statistics-api/status.svg?ref=refs/heads/v6_x)](https://ci.mjanja.ch/alanorth/dspace-statistics-api) [![builds.sr.ht status](https://builds.sr.ht/~alanorth/dspace-statistics-api.svg)](https://builds.sr.ht/~alanorth/dspace-statistics-api?) DSpace stores item view and download events in a Solr "statistics" core. This information is available for use in the various DSpace user interfaces, but is not exposed externally via any APIs. The DSpace 4/5/6 [REST API](https://wiki.lyrasis.org/display/DSDOC5x/REST+API), for example, only exposes information about communities, collections, item metadata, and bitstreams. - If your DSpace is version 4 or 5, use [dspace-statistics-api v1.1.1](https://github.com/ilri/dspace-statistics-api/releases/tag/v1.1.1)