diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8563fc2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: python +python: + - "3.4" + - "2.7" +install: + - pip install git+https://github.com/0k/cookiecutter + - cp tests/samplerc ~/.cookiecutterrc +script: + - cur_path=$PWD ; cd /tmp ; cookiecutter "$cur_path" --no-input + - cd /tmp/my_odoo_module && find . diff --git a/README.rst b/README.rst index 6b5b4c0..1741a65 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,10 @@ cookiecutter-odoo ================= +.. image:: http://img.shields.io/travis/vaab/colour/master.svg?style=flat + :target: https://travis-ci.org/vaab/colour/ + :alt: Travis CI build status + A modified cookiecutter_ template for OpenERP/Odoo. .. _cookiecutter: https://github.com/audreyr/cookiecutter diff --git a/tests/samplerc b/tests/samplerc new file mode 100644 index 0000000..8649d47 --- /dev/null +++ b/tests/samplerc @@ -0,0 +1,9 @@ +default_context: + name: my_odoo_module + author: Valentin Lab + email: "valentin.lab@kalsyto.org" + website: http://www.example.com + github_username: "vaab" + license_years: 2015 + version: "0.3" +