This commit is contained in:
Edwin Eefting 2020-05-17 13:14:55 +02:00
parent 7a3c309123
commit 83905c4614
3 changed files with 8 additions and 4 deletions

View File

@ -5,8 +5,7 @@ env: NGROK_TOKEN=1c1uvy5CSMYBuO3o7Jv3xgRugYF_XGEz3Atyjb7KMaxw5GeU
before_install:
- sudo apt-get update
- sudo apt-get install zfsutils-linux
before_script:
- pip --version
script:
- sudo -E pip --version
- sudo -E ./ngrok.sh
- sudo -E ./run_tests
# - sudo -E pip --version
# - sudo -E ./ngrok.sh

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
colorama
argparse
coverage

View File

@ -1,6 +1,8 @@
#!/bin/bash
coverage run --source bin.zfs_autobackup -m unittest -v $@
EXIT=$?
echo
coverage report
exit $EXIT