diff --git a/.coveragerc b/.coveragerc index c6e2518..b8ed879 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,2 +1,2 @@ [run] -omit = *examples* +omit = *examples*, *utils* diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c29485f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: python +cache: + pip: true +python: +- "3.6" +sudo: true + +before_install: + - sudo apt-get install -y ffmpeg + +before_script: +- pip install coverage +- pip install coveralls +- pip install click + +script: +- coverage run --source=convertor/ -m pytest && coverage report -m + +after_success: +- coveralls diff --git a/README.md b/README.md index 4fd911d..f880d7d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# audioConvertor +# audioConvertor [![Build Status](https://travis-ci.org/hogum/audioConvertor.svg?branch=master)](https://travis-ci.org/hogum/audioConvertor) [![Coverage Status](https://coveralls.io/repos/github/hogum/audioConvertor/badge.svg?branch=master)](https://coveralls.io/github/hogum/audioConvertor?branch=master) audioConvertor is a multifile media format convertor command line tool. It allows conversion of files to various media types, the most emphasised on, being from video to audio. The tool is a guide detailed out on [this blog post](https://medium.com/@mugoh.ks/python-click-building-your-first-command-line-interface-application-6947d5319ef7)