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
consistency configuration.
* Add introductory screencast link to documentation.
* Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically.
1.1.15
* 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
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
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
sudo pip3 install tox
```
Finally, to actually run tests, run:
```bash
cd borgmatic
tox
```

View File

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