diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..afe8527 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,26 @@ +engines: + fixme: + enabled: true + pep8: + enabled: true + radon: + enabled: true + gnu-complexity: + enabled: true + config: + threshold: 25 + +ratings: + paths: + - src/** + - bindings/python/** + - "**.c" + - "**.h" + - "**.py" + +exclude_paths: +- tests/**/* +- docs/**/* +- po/**/* +- m4/**/* + diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..03a48f1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,37 @@ +addons: + apt: + packages: + - doxygen + - graphviz + - autoconf + - automake + - libtool + - m4 + - gtk-doc-tools + - pkg-config + - libxslt1-dev + - intltool + - gettext + - python2-dev + - python-mutagen + - python-setuptools + - libsqlite3-dev + - libglib2.0-dev + - libxml2-dev + - libimobiledevice-dev + - libgdk-pixbuf2.0-dev + +language: c + +python: + - "2.7" + +script: cp README.old README && cp ChangeLog.old ChangeLog && ./autogen.sh && make && make check + +install: true + +sudo: false + +notifications: + irc: "chat.freenode.net#code-hell" + diff --git a/README.md b/README.md index b4ce478..86ae77e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +[![libgpod License](https://img.shields.io/badge/license-GPL2-blue.svg?dummy)](https://github.com/VCTLabs/libgpod/blob/master/libgpod/COPYING) +[![GitHub version](https://badge.fury.io/gh/VCTLabs%2Flibgpod.svg)](https://badge.fury.io/gh/VCTLabs%2Flibgpod) +[![Build Status](https://travis-ci.org/VCTLabs/libgpod.svg?branch=master)](https://travis-ci.org/VCTLabs/libgpod) +[![Code Climate](https://codeclimate.com/github/VCTLabs/libgpod/badges/gpa.svg)](https://codeclimate.com/github/VCTLabs/libgpod) +[![Github Issues](http://githubbadges.herokuapp.com/VCTLabs/libgpod/issues.svg?style=flat-square&dummy)](https://github.com/VCTLabs/libgpod/issues) + # Readme for libgpod update/maintenance releases # Numerous fixes by me and others, seems worth a minor version update.