From 1bc366706b2296c4d81bbe44a723dbd9bb585618 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Wed, 10 Feb 2021 18:46:25 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20modstool:=20Replace=20Travis=20w?= =?UTF-8?q?ith=20CircleCI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 23 +++++++++++++++++++++++ .travis.yml | 13 ------------- README.md | 2 +- 3 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..1033fb0 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,23 @@ +version: 2.1 + +jobs: + test: + parameters: + python-version: + type: string + docker: + - image: circleci/python:<< parameters.python-version >> + steps: + - checkout + - run: pip3 install --upgrade pip + - run: pip3 install -r requirements.txt + - run: pip3 install pytest + - run: pytest + +workflows: + all-tests: + jobs: + - test: + matrix: + parameters: + python-version: ["3.5", "3.6", "3.7", "3.8", "3.9"] diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 947438d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -dist: xenial # required for Python >= 3.7 -language: python -python: - - "3.5" - - "3.6" - - "3.7" - - -install: - - pip install -r requirements.txt - -script: - - pytest diff --git a/README.md b/README.md index a0919d1..6cef259 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ Extract the MODS metadata of a bunch of METS files into a pandas DataFrame. -[![Build Status](https://travis-ci.org/qurator-spk/modstool.svg?branch=master)](https://travis-ci.org/qurator-spk/modstool) +[![Build Status](https://circleci.com/gh/qurator-spk/modstool.svg?style=svg)](https://circleci.com/gh/qurator-spk/modstool) Column names are derived from the corresponding MODS elements. Some domain knowledge is used to convert elements to a useful column, e.g. produce sets