-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (31 loc) · 998 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
24
25
26
27
28
29
30
31
32
33
34
35
36
##############
# Unit testing
##############
testpy2:
conda create --yes --name testpy2 python=2; \
source activate testpy2; \
conda install --yes numpy scipy; \
pip install --upgrade pip; \
pip install nose-cov; \
python setup.py install; \
nosetests --with-cov --cov gazelib --logging-level=INFO; \
source deactivate > /dev/null; \
conda remove --yes --name testpy2 --all > /dev/null
testpy3:
conda create --yes --name testpy3 python=3; \
source activate testpy3; \
conda install --yes numpy scipy; \
pip install --upgrade pip; \
pip install nose-cov; \
python setup.py install; \
nosetests --with-cov --cov gazelib --logging-level=INFO; \
source deactivate > /dev/null; \
conda remove --yes --name testpy3 --all > /dev/null
quicktestpy2:
source activate gazepy2; \
nosetests --with-cov --cov gazelib --logging-level=INFO; \
source deactivate; \
quicktestpy3:
source activate gazepy3; \
nosetests --with-cov --cov gazelib --logging-level=INFO; \
source deactivate; \