Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.bio.vein
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.bio.vein
Commits
a6ea87e2
Commit
a6ea87e2
authored
Feb 19, 2018
by
André Anjos
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port to new CI (closes
#16
)
parent
91189df8
Pipeline
#16931
failed with stage
in 8 minutes and 53 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
182 additions
and
200 deletions
+182
-200
.gitlab-ci.yml
.gitlab-ci.yml
+94
-200
conda/meta.yaml
conda/meta.yaml
+88
-0
No files found.
.gitlab-ci.yml
View file @
a6ea87e2
# This build file heavily uses template features from YAML so it is generic
# enough for any Bob project. Don't modify it unless you know what you're
# doing.
# This build file uses template features from YAML so it is generic enough for
# any Bob project. Don't modify it unless you know what you're doing.
# Definition of global variables (all stages)
variables
:
CONDA_ROOT
:
"
${CI_PROJECT_DIR}/miniconda"
# Definition of our build pipeline
# Definition of our build pipeline order
stages
:
-
build
-
test
-
docs
-
wheels
-
deploy
-
pypi
# ---------
# Templates
# ---------
# Template for the build stage
# Needs to run on all supported architectures, platforms and python versions
# Build targets
.build_template
:
&build_job
stage
:
build
before_script
:
-
git clean -ffdx
-
mkdir _ci
-
curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/master/gitlab/install.sh" > _ci/install.sh
-
chmod 755 _ci/install.sh
-
./_ci/install.sh _ci
#update
s
-
./_ci/install.sh _ci
master
#installs ci support script
s
-
./_ci/before_build.sh
script
:
-
./_ci/build.sh
after_script
:
-
./_ci/after_build.sh
artifacts
:
expire_in
:
1 week
cache
:
&build_caches
paths
:
-
_ci/
-
dist/
-
sphinx/
# Template for the test stage - re-installs from uploaded wheels
# Needs to run on all supported architectures, platforms and python versions
.test_template
:
&test_job
stage
:
test
before_script
:
-
./_ci/install.sh _ci
#updates
-
./_ci/before_test.sh
script
:
-
./_ci/test.sh
after_script
:
-
./_ci/after_test.sh
# Template for the wheel uploading stage
# Needs to run against one supported architecture, platform and python version
.wheels_template
:
&wheels_job
stage
:
wheels
environment
:
intranet
only
:
-
master
-
/^v\d+\.\d+\.\d+([abc]\d*)?$/
# PEP-440 compliant version (tags)
before_script
:
-
./_ci/install.sh _ci
#updates
-
./_ci/before_wheels.sh
script
:
-
./_ci/wheels.sh
after_script
:
-
./_ci/after_wheels.sh
# Template for (latest) documentation upload stage
# Only one real job needs to do this
.docs_template
:
&docs_job
stage
:
docs
environment
:
intranet
only
:
-
master
before_script
:
-
./_ci/install.sh _ci
#updates
-
./_ci/before_docs.sh
script
:
-
./_ci/docs.sh
after_script
:
-
./_ci/after_docs.sh
# Template for the deployment stage - re-installs from uploaded wheels
# Needs to run on a single architecture only
# Will deploy your package to PyPI and other required services
# Only runs for tags
.deploy_template
:
&deploy_job
stage
:
deploy
environment
:
internet
only
:
-
/^v\d+\.\d+\.\d+([abc]\d*)?$/
# PEP-440 compliant version (tags)
except
:
-
branches
before_script
:
-
./_ci/install.sh _ci
#updates
-
./_ci/before_deploy.sh
script
:
-
./_ci/deploy.sh
after_script
:
-
./_ci/after_deploy.sh
-
miniconda.sh
-
${CONDA_ROOT}/pkgs/*.tar.bz2
-
${CONDA_ROOT}/pkgs/urls.txt
# -------------
# Build Targets
# -------------
# Linux + Python 2.7: Builds, tests, uploads wheel and deploys (if needed)
build_linux_27
:
.build_linux_template
:
&linux_build_job
<<
:
*build_job
variables
:
&linux_27_build_variables
PYTHON_VERSION
:
"
2.7"
WHEEL_TAG
:
"
py27"
tags
:
-
conda-linux
test_linux_27
:
<<
:
*test_job
variables
:
*linux_27_build_variables
dependencies
:
-
build_linux_27
tags
:
-
conda-linux
wheels_linux_27
:
<<
:
*wheels_job
variables
:
*linux_27_build_variables
dependencies
:
-
build_linux_27
tags
:
-
conda-linux
deploy_linux_27
:
<<
:
*deploy_job
variables
:
*linux_27_build_variables
dependencies
:
-
build_linux_27
tags
:
-
conda-linux
-
docker
image
:
continuumio/conda-concourse-ci
artifacts
:
expire_in
:
1 week
paths
:
-
_ci/
-
${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
cache
:
<<
:
*build_caches
key
:
"
linux-cache"
# Linux + Python 3.5: Builds, tests and uploads wheel
build_linux_35
:
.build_macosx_template
:
&macosx_build_job
<<
:
*build_job
variables
:
&linux_35_build_variables
PYTHON_VERSION
:
"
3.5"
WHEEL_TAG
:
"
py3"
tags
:
-
conda-linux
test_linux_35
:
<<
:
*test_job
variables
:
*linux_35_build_variables
dependencies
:
-
build_linux_35
tags
:
-
conda-linux
-
macosx
artifacts
:
expire_in
:
1 week
paths
:
-
_ci/
-
${CONDA_ROOT}/conda-bld/osx-64/*.tar.bz2
cache
:
<<
:
*build_caches
key
:
"
macosx-cache"
wheels_linux_35
:
<<
:
*wheels_job
variables
:
*linux_35_build_variables
dependencies
:
-
build_linux_35
tags
:
-
conda-linux
docs_linux_35
:
<<
:
*docs_job
variables
:
*linux_35_build_variables
dependencies
:
-
build_linux_35
tags
:
-
conda-linux
build_linux_27
:
<<
:
*linux_build_job
variables
:
PYTHON_VERSION
:
"
2.7"
# Linux + Python 3.6: Builds and tests
build_linux_36
:
<<
:
*build_job
variables
:
&linux_36_build_variables
<<
:
*
linux_
build_job
variables
:
PYTHON_VERSION
:
"
3.6"
WHEEL_TAG
:
"
py3"
tags
:
-
conda-linux
test_linux_36
:
<<
:
*test_job
variables
:
*linux_36_build_variables
dependencies
:
-
build_linux_36
tags
:
-
conda-linux
BUILD_EGG
:
"
true"
artifacts
:
expire_in
:
1 week
paths
:
-
_ci/
-
dist/*.zip
-
sphinx
-
${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
# Mac OSX + Python 2.7: Builds and tests
build_macosx_27
:
<<
:
*build_job
variables
:
&macosx_27_build_variables
<<
:
*
macosx_
build_job
variables
:
PYTHON_VERSION
:
"
2.7"
WHEEL_TAG
:
"
py27"
tags
:
-
conda-macosx
test_macosx_27
:
<<
:
*test_job
variables
:
*macosx_27_build_variables
build_macosx_36
:
<<
:
*macosx_build_job
variables
:
PYTHON_VERSION
:
"
3.6"
# Deploy targets
.deploy_template
:
&deploy_job
stage
:
deploy
before_script
:
-
./_ci/install.sh _ci master
#updates ci support scripts
script
:
-
./_ci/deploy.sh
dependencies
:
-
build_linux_27
-
build_linux_36
-
build_macosx_27
-
build_macosx_36
tags
:
-
conda-macosx
-
deployer
# Mac OSX + Python 3.5: Builds and tests
build_macosx_35
:
<<
:
*build_job
variables
:
&macosx_35_build_variables
PYTHON_VERSION
:
"
3.5"
WHEEL_TAG
:
"
py3"
tags
:
-
conda-macosx
deploy_beta
:
<<
:
*deploy_job
environment
:
beta
only
:
-
master
test_macosx_35
:
<<
:
*test_job
variables
:
*macosx_35_build_variables
dependencies
:
-
build_macosx_35
tags
:
-
conda-macosx
deploy_stable
:
<<
:
*deploy_job
environment
:
stable
only
:
-
/^v\d+\.\d+\.\d+([abc]\d*)?$/
# PEP-440 compliant version (tags)
except
:
-
branches
# Mac OSX + Python 3.6: Builds and tests
build_macosx_36
:
<<
:
*build_job
variables
:
&macosx_36_build_variables
PYTHON_VERSION
:
"
3.6"
WHEEL_TAG
:
"
py3"
tags
:
-
conda-macosx
test_macosx_36
:
<<
:
*test_job
variables
:
*macosx_36_build_variables
pypi
:
stage
:
pypi
environment
:
pypi
only
:
-
/^v\d+\.\d+\.\d+([abc]\d*)?$/
# PEP-440 compliant version (tags)
except
:
-
branches
before_script
:
-
./_ci/install.sh _ci master
#updates ci support scripts
script
:
-
./_ci/pypi.sh
dependencies
:
-
build_
macos
x_36
-
build_
linu
x_36
tags
:
-
conda-macosx
-
deployer
conda/meta.yaml
0 → 100644
View file @
a6ea87e2
{
%
set name = 'bob.bio.vein' %
}
{
%
set project_dir = environ.get('RECIPE_DIR') + '/..' %
}
package
:
name
:
{{
name
}}
version
:
{{
environ.get('BOB_PACKAGE_VERSION'
,
'
0.0.1'
)
}}
build
:
entry_points
:
-
compare_rois.py = bob.bio.vein.script.compare_rois:main
-
view_sample.py = bob.bio.vein.script.view_sample:main
-
blame.py = bob.bio.vein.script.blame:main
-
markdet.py = bob.bio.vein.script.markdet:main
-
watershed_mask.py = bob.bio.vein.script.watershed_mask:main
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 }}
-
numpy {{ numpy }}
-
scipy {{ scipy }}
-
pillow {{ pillow }}
-
schema {{ schema }}
-
docopt {{ docopt }}
-
scikit-image {{ scikit-image }}
-
matplotlib {{ matplotlib }}
-
bob.extension
-
bob.core
-
bob.io.base
-
bob.io.matlab
-
bob.io.image
-
bob.ip.base
-
bob.ip.color
-
bob.bio.base
-
bob.learn.linear
-
bob.learn.activation
-
bob.learn.mlp
run
:
-
python
-
setuptools
-
{{
pin_compatible('numpy')
}}
-
{{
pin_compatible('scipy')
}}
-
{{
pin_compatible('pillow')
}}
-
{{
pin_compatible('schema')
}}
-
{{
pin_compatible('docopt')
}}
-
{{
pin_compatible('scikit-image')
}}
-
{{
pin_compatible('matplotlib')
}}
test
:
imports
:
-
{{
name
}}
commands
:
-
compare_rois.py --help
-
view_sample.py --help
-
blame.py --help
-
markdet.py --help
-
watershed_mask.py --help
-
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
:
-
bob-devel {{ bob_devel }}.*
-
nose
-
coverage
-
sphinx
-
sphinx_rtd_theme
-
bob.db.utfvp
-
bob.db.verafinger
-
bob.db.fv3d
-
bob.db.putvein
about
:
home
:
https://www.idiap.ch/software/bob/
license
:
GNU General Public License v3 (GPLv3)
summary
:
Vein Recognition Library
license_family
:
GPL
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