Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.buildout
Commits
205b2e4c
Commit
205b2e4c
authored
Feb 09, 2018
by
Amir MOHAMMADI
Browse files
Test
parent
517a7273
Pipeline
#16301
failed with stages
in 2 minutes and 56 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
205b2e4c
...
...
@@ -17,3 +17,4 @@ dist
build
*.egg
src/
record.txt
.gitlab-ci.yml
View file @
205b2e4c
...
...
@@ -9,6 +9,7 @@ variables:
# Definition of our build pipeline order
stages
:
-
build
-
clean
-
deploy
-
pypi
...
...
@@ -23,7 +24,7 @@ stages:
-
./_ci/install.sh _ci master
#installs ci support scripts
-
./_ci/before_build.sh
script
:
-
./_ci/build.sh
-
"
false"
cache
:
&build_caches
paths
:
-
miniconda.sh
...
...
@@ -60,6 +61,13 @@ stages:
key
:
"
macosx-cache"
.clean_template
:
&clean_job
stage
:
clean
script
:
-
"
true"
when
:
always
build_linux_27
:
<<
:
*linux_build_job
variables
:
...
...
@@ -80,16 +88,11 @@ build_linux_36:
-
${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
build_macosx_27
:
<<
:
*macosx_build_job
variables
:
PYTHON_VERSION
:
"
2.7"
build_macosx_36
:
<<
:
*macosx_build_job
variables
:
PYTHON_VERSION
:
"
3.6"
clean_linux_27
:
<<
:
*clean_job
tags
:
-
docker
image
:
continuumio/conda-concourse-ci
# Deploy targets
...
...
@@ -102,8 +105,6 @@ build_macosx_36:
dependencies
:
-
build_linux_27
-
build_linux_36
-
build_macosx_27
-
build_macosx_36
tags
:
-
deployer
...
...
conda/meta.yaml
0 → 100644
View file @
205b2e4c
{
%
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
doc/conf.py
View file @
205b2e4c
...
...
@@ -24,6 +24,7 @@ extensions = [
'sphinx.ext.intersphinx'
,
'sphinx.ext.napoleon'
,
'sphinx.ext.viewcode'
,
'sphinx.ext.mathjax'
,
]
# Always includes todos
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment