new: pkg: added integration tests.

This commit is contained in:
Valentin Lab
2015-01-30 14:25:59 +07:00
parent 36902ec12b
commit 91777acf44
3 changed files with 23 additions and 0 deletions

10
.travis.yml Normal file
View File

@@ -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 .

View File

@@ -2,6 +2,10 @@
cookiecutter-odoo 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. A modified cookiecutter_ template for OpenERP/Odoo.
.. _cookiecutter: https://github.com/audreyr/cookiecutter .. _cookiecutter: https://github.com/audreyr/cookiecutter

9
tests/samplerc Normal file
View File

@@ -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"