test: remove unittests.sh

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-04-08 22:26:18 +03:00
parent 36d924c4c2
commit 52a88d6063
4 changed files with 6 additions and 17 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ before_test:
- pip install -r test-requirements.txt
test_script:
- nosetests --cover-inclusive --cover-erase --cover-package=dvc --with-coverage
- python -mtests
after_test:
- if "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" codecov
+1 -1
View File
@@ -3,7 +3,7 @@
set -x
set -e
./unittests.sh
python -mtests
if [[ "$TRAVIS_PULL_REQUEST" == "false" && \
"$TRAVIS_SECURE_ENV_VARS" == "true" ]]; then
+4
View File
@@ -0,0 +1,4 @@
import nose
if __name__ == '__main__':
nose.main(argv=['--cover-inclusive', '--cover-erase', '--cover-package=dvc', '--with-coverage'])
-15
View File
@@ -1,15 +0,0 @@
#!/bin/bash
set -e
ulimit -n 2048
nosetests --cover-inclusive --cover-erase --cover-package=dvc --with-coverage
if [ "$1" = "report" ]; then
if [ -z "$CODECLIMATE_REPO_TOKEN" ]; then
echo "Error: CODECLIMATE_REPO_TOKEN is not defined! Reporting faied."
else
codeclimate-test-reporter --token $CODECLIMATE_REPO_TOKEN
fi
fi