summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python/conda-recipe
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-06-21 22:22:42 +0100
committerGitHub <noreply@github.com>2019-06-21 22:22:42 +0100
commit57b81fd1fe64cac63194386b383d40707e5bbdf0 (patch)
tree263758227e439764bff880c5e438bc505f54d4c4 /Wrappers/Python/conda-recipe
parent35b485ff2918c173b0483bb6c62f700467d7782e (diff)
downloadframework-plugins-57b81fd1fe64cac63194386b383d40707e5bbdf0.tar.gz
framework-plugins-57b81fd1fe64cac63194386b383d40707e5bbdf0.tar.bz2
framework-plugins-57b81fd1fe64cac63194386b383d40707e5bbdf0.tar.xz
framework-plugins-57b81fd1fe64cac63194386b383d40707e5bbdf0.zip
Reorganise processors (#24)
* add test phase * updated test * removed unused import * updated test
Diffstat (limited to 'Wrappers/Python/conda-recipe')
-rw-r--r--Wrappers/Python/conda-recipe/meta.yaml15
1 files changed, 14 insertions, 1 deletions
diff --git a/Wrappers/Python/conda-recipe/meta.yaml b/Wrappers/Python/conda-recipe/meta.yaml
index ab67b0c..c9126d4 100644
--- a/Wrappers/Python/conda-recipe/meta.yaml
+++ b/Wrappers/Python/conda-recipe/meta.yaml
@@ -8,7 +8,20 @@ build:
script_env:
- CIL_VERSION
# number: 0
-
+test:
+ requires:
+ - python-wget
+ - cvxpy # [ unix and py36 and np115 ]
+
+ source_files:
+ - ./test # [win]
+ - ./ccpi/Wrappers/Python/test # [not win]
+
+ commands:
+ - python -c "import os; print (os.getcwd())"
+ - python -m unittest discover # [win]
+ - python -m unittest discover -s ccpi/Wrappers/Python/test # [not win]
+
requirements:
build:
- python