Skip to content
This repository has been archived by the owner on Dec 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #33 from tubone24/shippable
Browse files Browse the repository at this point in the history
Shippable
  • Loading branch information
tubone24 committed Feb 17, 2019
2 parents 334d06a + 4557a46 commit fa06bc3
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ The ``Ebook_homebrew`` is changing file name to only digit name like ``001.jpg``
.. image:: https://img.shields.io/azure-devops/tests/meitantei-conan/ebook_homebrew/1.svg?compact_message&style=flat
:target: https://dev.azure.com/meitantei-conan/ebook_homebrew/_build?definitionId=1

.. image:: https://api.shippable.com/projects/5c64353c33944406008b4ae8/badge?branch=master
:target: https://app.shippable.com/github/tubone24/ebook_homebrew/dashboard

.. image:: https://img.shields.io/lgtm/alerts/g/tubone24/ebook_homebrew.svg?logo=lgtm&logoWidth=18
:target: https://lgtm.com/projects/g/tubone24/ebook_homebrew/alerts

Expand Down
3 changes: 3 additions & 0 deletions doc_src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ Badges:
.. image:: https://img.shields.io/azure-devops/tests/meitantei-conan/ebook_homebrew/1.svg?compact_message&style=flat
:target: https://dev.azure.com/meitantei-conan/ebook_homebrew/_build?definitionId=1

.. image:: https://api.shippable.com/projects/5c64353c33944406008b4ae8/badge?branch=master
:target: https://app.shippable.com/github/tubone24/ebook_homebrew/dashboard

.. image:: https://img.shields.io/lgtm/alerts/g/tubone24/ebook_homebrew.svg?logo=lgtm&logoWidth=18
:target: https://lgtm.com/projects/g/tubone24/ebook_homebrew/alerts

Expand Down
29 changes: 29 additions & 0 deletions shippable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: python

python:
- 3.5

env:
- CI_REPORTS=shippable/testresults COVERAGE_REPORTS=shippable/codecoverage

build:
ci:
- echo $CI_REPORTS && mkdir -p $CI_REPORTS
- echo $COVERAGE_REPORTS && mkdir -p $COVERAGE_REPORTS

before_install:
- pip install -r requirements-test.txt

install:
- python setup.py install

before_script:
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage

script:
- coverage run --source=ebook_homebrew -m pytest --it --junit-xml=$CI_REPORTS//test_results.xml
- coverage xml -o $COVERAGE_REPORTS/coverage.xml

after_success:
- echo "OK"

0 comments on commit fa06bc3

Please sign in to comment.