Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically.

This commit is contained in:
Dan Helfman 2018-04-09 20:34:59 -07:00
parent e608b7924a
commit 61033bb4e5
3 changed files with 12 additions and 4 deletions

1
NEWS
View file

@ -2,6 +2,7 @@
* Support for Borg --prefix option for consistency checks via "prefix" option in borgmatic's * Support for Borg --prefix option for consistency checks via "prefix" option in borgmatic's
consistency configuration. consistency configuration.
* Add introductory screencast link to documentation. * Add introductory screencast link to documentation.
* Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically.
1.1.15 1.1.15
* Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file. * Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file.

View file

@ -299,15 +299,22 @@ borgmatic to run.
## Running tests ## Running tests
First install tox, which is used for setting up testing environments: First, clone a copy of [borgmatic source code](https://projects.torsion.org/witten/borgmatic):
```bash ```bash
pip3 install tox git clone https://projects.torsion.org/witten/borgmatic
``` ```
Then, to actually run tests, run: Then, install tox, which is used for setting up testing environments:
```bash ```bash
sudo pip3 install tox
```
Finally, to actually run tests, run:
```bash
cd borgmatic
tox tox
``` ```

View file

@ -1,5 +1,5 @@
[tox] [tox]
envlist=py34 envlist=py3
skipsdist=True skipsdist=True
[testenv] [testenv]