commit | b272e97adecde467b688dc5fc86a26568d312444 | [log] [tgz] |
---|---|---|
author | Petr Ruzicka <petr.ruzicka@gmail.com> | Fri Mar 16 12:55:43 2018 +0100 |
committer | Petr Ruzicka <petr.ruzicka@gmail.com> | Fri Mar 16 13:24:44 2018 +0100 |
tree | 79dcec0410d4dbfcadfa90517ca80188c4be5642 | |
parent | 0453e9d5b598cd09d552f47cb0eafdf87e574fad [diff] |
Adding tests
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4b4fece --- /dev/null +++ b/.travis.yml
@@ -0,0 +1,10 @@ +language: python + +install: + - pip install cookiecutter + +script: + - MY_NEW_SALT_FORMULA_DIR="my_test_formula" + - mkdir $MY_NEW_SALT_FORMULA_DIR + - cookiecutter $PWD --output-dir $MY_NEW_SALT_FORMULA_DIR --no-input + - ls $MY_NEW_SALT_FORMULA_DIR/*/README.rst
diff --git "a/\173\173cookiecutter.service_name\175\175/README.rst" "b/\173\173cookiecutter.service_name\175\175/README.rst" index 6474c57..d97513d 100644 --- "a/\173\173cookiecutter.service_name\175\175/README.rst" +++ "b/\173\173cookiecutter.service_name\175\175/README.rst"
@@ -1,6 +1,6 @@ ================================== -{{cookiecutter.service_name|capfirst}} Formula +{{cookiecutter.service_name|capitalize}} Formula ================================== Service {{cookiecutter.service_name}} description
diff --git "a/\173\173cookiecutter.service_name\175\175/\173\173cookiecutter.service_name\175\175/schemas/\173\173cookiecutter.role_name\175\175.yaml" "b/\173\173cookiecutter.service_name\175\175/\173\173cookiecutter.service_name\175\175/schemas/\173\173cookiecutter.role_name\175\175.yaml" index 74b4f84..d803f15 100644 --- "a/\173\173cookiecutter.service_name\175\175/\173\173cookiecutter.service_name\175\175/schemas/\173\173cookiecutter.role_name\175\175.yaml" +++ "b/\173\173cookiecutter.service_name\175\175/\173\173cookiecutter.service_name\175\175/schemas/\173\173cookiecutter.role_name\175\175.yaml"
@@ -3,7 +3,7 @@ "$schema": "http://json-schema.org/draft-06/schema#" title: {{cookiecutter.service_name}} daemon role description: | - {{cookiecutter.service_name|capfirst}} daemon, server role + {{cookiecutter.service_name|capitalize}} daemon, server role type: object additionalProperties: false