-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
23 lines (18 loc) · 901 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Turn echoing commands off
.SILENT:
PROJECT_PACKAGE=asyncmongoorm
clean:
echo "Cleaning up build and *.pyc files..."
find . -name '*.pyc' -exec rm -rf {} \;
rm -rf build
unit: clean
echo "Running asyncmongoorm unit tests..."
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/asyncmongoorm && \
nosetests -s --verbose --with-coverage --cover-package=asyncmongoorm tests/unit/*
functional: clean
echo "Running asyncmongoorm unit tests..."
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/asyncmongoorm && \
nosetests -s --verbose --with-coverage --cover-package=asyncmongoorm tests/functional/*
ci_test: clean
PYTHONPATH=$PYTHONPATH:`pwd`/${PROJECT_PACKAGE} PATH="/home/quatix/virtualenv/asyncmongoorm/bin:$PATH" nosetests -s --verbose tests/unit/*
PYTHONPATH=$PYTHONPATH:`pwd`/${PROJECT_PACKAGE} PATH="/home/quatix/virtualenv/asyncmongoorm/bin:$PATH" nosetests -s --verbose tests/functional/*