Commit 39189967 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Merge branch 'condapackage' into 'master'

Test conda package builds

See merge request !24
parents 4b712c9d ca76c42b
Pipeline #16671 passed with stages
in 2 minutes and 50 seconds
......@@ -17,3 +17,4 @@ dist
build
*.egg
src/
record.txt
{% set name = 'bob.buildout' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}
package:
name: {{ name }}
version: {{ environ.get('BOB_PACKAGE_VERSION', '0.0.1') }}
build:
number: {{ environ.get('BOB_BUILD_NUMBER', 0) }}
run_exports:
- {{ pin_subpackage(name) }}
script:
- cd {{ project_dir }}
{% if environ.get('BUILD_EGG') %}
- python setup.py sdist --formats=zip
{% endif %}
- python setup.py install --single-version-externally-managed --record record.txt
requirements:
host:
- python {{ python }}
- setuptools {{ setuptools }}
- zc.recipe.egg {{ zc_recipe_egg }}
- six {{ six }}
run:
- python
- setuptools
- zc.recipe.egg
- six
- nose
- coverage
- sphinx
test:
imports:
- {{ name }}
commands:
- nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
- sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
- sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
- conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx]
requires:
- nose
- coverage
- sphinx
- sphinx_rtd_theme
about:
home: https://www.idiap.ch/software/bob/
license: BSD 3-Clause
summary: A collection of zc.buildout recipes for Bob packages
license_family: BSD
......@@ -24,6 +24,7 @@ extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'sphinx.ext.mathjax',
]
# Always includes todos
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment