diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 845b719f2378d396a8b75296a68d1e32c840e7c7..3bda2dc431490fbc53e1d18916f7c689446c64af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1 +1,4 @@ -include: 'https://gitlab.idiap.ch/bob/bob.devtools/raw/master/bob/devtools/data/gitlab-ci/single-package.yaml' +include: + - project: 'bob/bob.devtools' + ref: master + file: '/bob/devtools/data/gitlab-ci/single-package.yaml' diff --git a/conda/meta.yaml b/conda/meta.yaml index 8fc171e2980552ce74d0f5d3fd98910976f8c757..a4cdabae11fca41168d10478a665ddc480522122 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -12,36 +12,41 @@ build: script: - cd {{ project_dir }} {% if environ.get('BUILD_EGG') %} - - python setup.py sdist --formats=zip + - "{{ PYTHON }} setup.py sdist --formats=zip" {% endif %} - - "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" + - "{{ PYTHON }} -m pip install . -vv" + # installs the documentation source, readme to share/doc so it is available + # during test time + - install -d "${PREFIX}/share/doc/{{ name }}" + - cp -R README.rst requirements.txt doc "${PREFIX}/share/doc/{{ name }}/" requirements: host: - - pip - python {{ python }} - setuptools {{ setuptools }} + - pip {{ pip }} + - bob.extension + - beat.cmdline >=1.10.2 + - docopt {{ docopt }} + - click {{ click }} + - click-plugins {{ click_plugins }} run: - python - setuptools - pyqt - - click - - click-plugins - - docopt - - beat.cmdline >=1.10.2 + - {{ pin_compatible('docopt') }} + - {{ pin_compatible('click') }} + - {{ pin_compatible('click-plugins') }} test: requires: - - bob-devel {{ bob_devel }}.* - - beat-devel {{ beat_devel }}.* - - bob.extension - - pytest + - pytest {{ pytest }} - pytest-qt - - pytest-cov - - coverage - - sphinx - - sphinx_rtd_theme + - pytest-cov {{ pytest_cov }} + - coverage {{ coverage }} + - sphinx {{ sphinx }} + - sphinx_rtd_theme {{ sphinx_rtd_theme }} imports: - {{ name }} diff --git a/conda/yum_requirements.txt b/conda/yum_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..a98e1bdf13b0db28b9e3673f1b60e8bb2e3e8c99 --- /dev/null +++ b/conda/yum_requirements.txt @@ -0,0 +1,2 @@ +mesa-libGL +rsync