浏览代码

Merge pull request #13 from myii/docs/add-kitchen-requirements

docs(readme): add testing requirements section
tags/v0.2.2
Niels Abspoel 5 年前
父节点
当前提交
d65505710d
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 18 次插入0 次删除
  1. +3
    -0
      .gitignore
  2. +15
    -0
      docs/README.rst

+ 3
- 0
.gitignore 查看文件

@@ -108,3 +108,6 @@ Gemfile.lock

# copied `.md` files used for conversion to `.rst` using `m2r`
docs/*.md

# Vim
*.sw?

+ 15
- 0
docs/README.rst 查看文件

@@ -62,6 +62,21 @@ Testing

Linux testing is done with ``kitchen-salt``.

Requirements
^^^^^^^^^^^^

* Ruby
* Docker

.. code-block:: bash

$ gem install bundler
$ bundle install
$ bundle exec kitchen test [platform]

Where ``[platform]`` is the platform name defined in ``kitchen.yml``,
e.g. ``debian-9-2019-2-py3``.

``kitchen converge``
^^^^^^^^^^^^^^^^^^^^


正在加载...
取消
保存