Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Release v0.8.0 #125

Merged
merged 5 commits into from
Aug 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,15 @@ services:
before_install:
- docker network create gutenberg
- docker run --detach --name fuseki --network gutenberg --tmpfs /fuseki --env ADMIN_PASSWORD=some-password stain/jena-fuseki:3.6.0 /jena-fuseki/fuseki-server --loc=/fuseki --update /ds
- codecov_env="$(bash <(curl -s https://codecov.io/env))"

install:
- if [ "$DOCKER_PYTHON_VERSION" = "2.7" ]; then docker build --build-arg PYTHON_VERSION="$DOCKER_PYTHON_VERSION" -t "gutenberg-$DOCKER_PYTHON_VERSION" -f Dockerfile-py2 .; fi
- if [ "$DOCKER_PYTHON_VERSION" != "2.7" ]; then docker build --build-arg PYTHON_VERSION="$DOCKER_PYTHON_VERSION" -t "gutenberg-$DOCKER_PYTHON_VERSION" -f Dockerfile-py3 .; fi

script:
- docker run -v $PWD:/app --tmpfs /data "gutenberg-$DOCKER_PYTHON_VERSION" flake8 gutenberg
- docker run -v $PWD:/app --tmpfs /data --network gutenberg --env UNIT_TEST_GUTENBERG_FUSEKI_URL=http://fuseki:3030/ds --env GUTENBERG_FUSEKI_USER=admin --env GUTENBERG_FUSEKI_PASSWORD=some-password "gutenberg-$DOCKER_PYTHON_VERSION" nose2 --verbose --with-coverage

after_success:
# Overwrite variable for codecov
- export TRAVIS_PYTHON_VERSION=${DOCKER_PYTHON_VERSION}
- pip install codecov && codecov
- docker run -v $PWD:/app --tmpfs /data --network gutenberg --env UNIT_TEST_GUTENBERG_FUSEKI_URL=http://fuseki:3030/ds --env GUTENBERG_FUSEKI_USER=admin --env GUTENBERG_FUSEKI_PASSWORD=some-password $codecov_env "gutenberg-$DOCKER_PYTHON_VERSION" bash -c "nose2 --verbose --with-coverage && bash <(curl -s https://codecov.io/bash)"

deploy:
provider: pypi
Expand Down
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ Gutenberg
.. image:: https://img.shields.io/pypi/v/gutenberg.svg
:target: https://pypi.python.org/pypi/gutenberg/

.. image:: https://img.shields.io/pypi/pyversions/gutenberg.svg
:target: https://pypi.python.org/pypi/gutenberg/


Overview
========
Expand Down
10 changes: 9 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
trigger:
- master

schedules:
- cron: '0 4 * * *'
displayName: 'Daily build at midnight EDT'
branches:
include:
- master
always: true

pool:
vmImage: '$(os.image)'

Expand Down Expand Up @@ -50,7 +58,7 @@ steps:
displayName: 'Upgrade pip and setuptools'

- powershell: |
$mirror = "https://download.lfd.uci.edu/pythonlibs/q5gtlas7"
$mirror = "https://download.lfd.uci.edu/pythonlibs/r7aykn4w"
$wheel = "bsddb3-6.2.6-cp3$(python.version.minor)-cp3$(python.version.minor)m-win_amd64.whl"
Invoke-WebRequest -Uri "$mirror/$wheel" -OutFile "$(Agent.TempDirectory)\$wheel"
pip install "$(Agent.TempDirectory)\$wheel"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

setup(
name='Gutenberg',
version='0.7.0',
version='0.8.0',
author='Clemens Wolff',
author_email='[email protected]',
packages=find_packages(exclude=['tests']),
Expand Down