+
+
+Unit testing
+============
+- `ownCloud unit testing documentation`__
+- `grauphel on Travis CI`__
+
+ .. image:: https://travis-ci.org/cweiske/grauphel.svg
+ :target: https://travis-ci.org/cweiske/grauphel
+
+__ https://doc.owncloud.org/server/8.0/developer_manual/core/unit-testing.html
+__ https://travis-ci.org/cweiske/grauphel
+
+
+Releasing grauphel
+==================
+To release a new version, do the following:
+
+#. Increase version number in ``appinfo/version`` and ``appinfo/info.xml``.
+#. Validate ``appinfo/info.xml``::
+
+ $ xmllint --noout --schema tools/info.xsd appinfo/info.xml
+
+#. Validate ``appinfo/database.xml``::
+
+ $ xmllint --noout --schema tools/database.xsd appinfo/database.xml
+
+#. Fill the ``ChangeLog`` file with the changes since the last release,
+ mention the new version number.
+#. Update ``README.rst`` and increase the version number
+#. Create the grauphel release file with::
+
+ $ phing
+
+ The file will be in ``dist/``
+#. Test the release on a server
+#. Tag the release in git
+#. Upload the release to http://cweiske.de/grauphel.htm with::
+
+ $ cd ~/Dev/html/cweiske.de
+ $ ./scripts/update-grauphel.sh
+
+#. Upload the new release on
+ https://apps.nextcloud.com/developer/apps/releases/new
+
+ Signature::
+
+ $ openssl dgst -sha512 -sign ~/.nextcloud/certificates/grauphel.key dist/grauphel-0.6.5.tar.gz | openssl base64