From a14eebc7003f258b29bef7304cc648742e4915c6 Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Sat, 24 Aug 2019 18:09:16 -0400 Subject: [PATCH 1/5] Release new version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index feb57e7..7e2e521 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ setup( name='Gutenberg', - version='0.7.0', + version='0.8.0', author='Clemens Wolff', author_email='clemens.wolff+pypi@gmail.com', packages=find_packages(exclude=['tests']), From 40b0b0f7ad2bafd9a6d56bba7cea8bd7ee3871d9 Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Sat, 24 Aug 2019 18:16:23 -0400 Subject: [PATCH 2/5] Fix download link --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 79f5228..9ee5811 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -50,7 +50,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" From 3de2c6872b4adc16056b8c351ef37af1c9e38ad4 Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Sat, 24 Aug 2019 18:19:41 -0400 Subject: [PATCH 3/5] Add daily build for Windows and MacOS --- azure-pipelines.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9ee5811..f34c217 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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)' From 49e11945ac13c084c7eb28ad684213d2d254bc93 Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Sat, 24 Aug 2019 18:27:35 -0400 Subject: [PATCH 4/5] Update codecov integration --- .travis.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 36ace11..d69c96c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ 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 @@ -21,12 +22,7 @@ install: 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 From c29edb44fa2413a73d6e94799e65ac710b3bdf60 Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Sat, 24 Aug 2019 18:49:09 -0400 Subject: [PATCH 5/5] Add python versions badge --- README.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.rst b/README.rst index 89e2635..c037bc6 100644 --- a/README.rst +++ b/README.rst @@ -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 ========