From 070984950782b23534224a6d4d39160d3b9fcd3f Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Tue, 26 Sep 2017 10:18:07 +0200
Subject: [PATCH] pin common test dependencies

---
 gitlab/conda_build_config.yaml | 8 ++++++++
 templates/meta.yaml            | 8 ++++----
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/gitlab/conda_build_config.yaml b/gitlab/conda_build_config.yaml
index 6bb59ef..aef7a5d 100644
--- a/gitlab/conda_build_config.yaml
+++ b/gitlab/conda_build_config.yaml
@@ -47,6 +47,14 @@ libogg:
   - 1.3.2
 libtiff:
   - 4.0.6
+nose:
+  - 1.3.7
+coverage:
+  - 4.3.4
+sphinx:
+ - 1.5.6
+sphinx_rtd_theme:
+  - 0.2.4
 
 pin_run_as_build:
   libgcc:
diff --git a/templates/meta.yaml b/templates/meta.yaml
index 4d500fb..a426746 100644
--- a/templates/meta.yaml
+++ b/templates/meta.yaml
@@ -35,10 +35,10 @@ test:
     - sphinx-build -W {{ project_dir }}/doc {{ project_dir }}/sphinx
     - sphinx-build -b doctest {{ project_dir }}/doc sphinx
   requires:
-    - nose
-    - coverage
-    - sphinx
-    - sphinx_rtd_theme
+    - nose {{ nose }}
+    - coverage {{ coverage }}
+    - sphinx {{ sphinx }}
+    - sphinx_rtd_theme {{ sphinx_rtd_theme }}
     <TEST_DEPS>
 
 about:
-- 
GitLab