diff --git a/.travis.yml b/.travis.yml index 8d367d16..6d2281dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ python: - "3.7" install: - pip install -e .[dev] + - pip install --upgrade pytest script: - pytest --cov=img_proof - flake8 img_proof diff --git a/docs/source/start.rst b/docs/source/start.rst index d906fb31..2e7413dd 100644 --- a/docs/source/start.rst +++ b/docs/source/start.rst @@ -81,18 +81,19 @@ specific values. To override the default configuration location the CLI option ``-C`` or ``--config`` is available. -The img_proof section is required. The cloud framework sections are optional and -would be [{cloud_framework}]. For example, the [ec2] section in the following -file. +The config file can have multiple sections. The default section is [img_proof] +and each cloud framework can have its own section such as [{cloud_framework}]. +A config file with an [ec2] section may look like the following: .. code-block:: ini [img_proof] - tests=~/img_proof/tests/ - results=~/img_proof/results/ + test_dirs=/custom/tests/path/ + results_dir=/custom/results/dir/ [ec2] region=us-west-1 + ssh_private_key_file = ~/.ssh/id_rsa There are multiple ways to provide configuration values when using **img-proof**. All options are available via command line and the configuration