# HG changeset patch
# User Georges Racinet <georges.racinet@octobus.net>
# Date 1576412445 -3600
#      Sun Dec 15 13:20:45 2019 +0100
# Branch heptapod-0-7
# Node ID 576d1a945668f4f7d878859c65e25fcc7fb39b6f
# Parent  3fba0bcde67a8f7952720650e03be7b22cac65f4
Extracted test requirements from CI config to a dedicated file

This will be help bootsrapping developer environments.

Apparently it's now deprecated to run tests with `setup.py test`,
so we don't bother listing it in setup.py.

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@
   # TODO put py.test in the image
   # the py.test version combination is the consistent one
   # provided by Fedora 30 for python2
-  - pip install --user pytest==3.10.1 pytest-cov==2.6.0 hg-evolve==9.2.1
+  - pip install --user -r test-requirements.txt
 
 lint:
     stage: lint
diff --git a/test-requirements.txt b/test-requirements.txt
new file mode 100644
--- /dev/null
+++ b/test-requirements.txt
@@ -0,0 +1,2 @@
+pytest==3.10.1
+pytest-cov==2.6.0