mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 15:28:27 +01:00
test: remove unittests.sh
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
set -x
|
||||
set -e
|
||||
|
||||
./unittests.sh
|
||||
python -mtests
|
||||
|
||||
if [[ "$TRAVIS_PULL_REQUEST" == "false" && \
|
||||
"$TRAVIS_SECURE_ENV_VARS" == "true" ]]; then
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
import nose
|
||||
|
||||
if __name__ == '__main__':
|
||||
nose.main(argv=['--cover-inclusive', '--cover-erase', '--cover-package=dvc', '--with-coverage'])
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user