Skip to content

Commit

Permalink
CI update, documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
dvolgyes committed Feb 19, 2020
1 parent 6cb1713 commit 7832403
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ zenodo_get: a downloader for Zenodo records
===========================================
Travis:[![Build Status](https://travis-ci.org/dvolgyes/zenodo_get.svg?branch=master)](https://travis-ci.org/dvolgyes/zenodo_get)
CircleCI:[![Build status](https://circleci.com/gh/dvolgyes/zenodo_get.svg?style=svg)](https://circleci.com/gh/dvolgyes/zenodo_get)
SemaphoreCI:[![Build Status](https://semaphoreci.com/api/v1/dvolgyes/zenodo_get/branches/master/badge.svg)](https://semaphoreci.com/dvolgyes/zenodo_get)

AppVeyor:[![Build status](https://ci.appveyor.com/api/projects/status/f6hw96rhdl104ch9?svg=true)](https://ci.appveyor.com/project/dvolgyes/zenodo-get)
GitlabCI:[![pipeline status](https://gitlab.com/dvolgyes/zenodo_get/badges/master/pipeline.svg)](https://gitlab.com/dvolgyes/zenodo_get/commits/master)
Expand Down Expand Up @@ -93,7 +94,7 @@ Citation
--------

You don't really need to cite this software, except if you use it for another academic publication.
E.g. if you download something from Zenodo: no need to cite it.
E.g. if you download something from Zenodo with zenodo-get: no need to cite anything.
If you download a lot from Zenodo, and you publish about Zenodo,
and my tool is integral part of the methodology, then you could cite it.
You could always ask the code to print the most up-to-date reference producing plain text and
Expand Down
4 changes: 1 addition & 3 deletions src/zenodo_get.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python


#!/usr/bin/env python3
import requests
import json
import hashlib
Expand Down
3 changes: 1 addition & 2 deletions tests/test.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#!/bin/bash
set -e

pwd

PYTHON="python3 -m coverage run -a --source src/"
$PYTHON src/zenodo_get.py
$PYTHON src/zenodo_get.py -h
$PYTHON src/zenodo_get.py --cite

# tests expected to fail
$PYTHON src/zenodo_get.py invalid_doi && false || true
Expand Down

0 comments on commit 7832403

Please sign in to comment.