new: pkg: added integration tests.
This commit is contained in:
10
.travis.yml
Normal file
10
.travis.yml
Normal 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 .
|
@@ -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
9
tests/samplerc
Normal 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"
|
||||||
|
|
Reference in New Issue
Block a user