From September 26, 2017 to November 31, 2017.
Python versions from 2.6 to 3.6
# This file was automatically generated by SWIG (http://www.swig.org). | |
# Version 3.0.12 | |
# | |
# Do not make changes to this file unless you know what you are doing--modify | |
# the SWIG interface file instead. | |
from sys import version_info as _swig_python_version_info | |
if _swig_python_version_info >= (3, 0, 0): | |
new_instancemethod = lambda func, inst, cls: _itkFourierStripeArtifactImageFilterPython.SWIG_PyInstanceMethod_New(func) | |
else: |
I just had to set up Jenkins to use GitHub. My notes (to myself, mostly):
Detailed Instructions
For setting up Jenkins to build GitHub projects. This assumes some ability to manage Jenkins, use the command line, set up a utility LDAP account, etc. Please share or improve this Gist as needed.
Install Jenkins Plugins
get both the git and github plugin http://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin
#!/usr/bin/env bash | |
set -x | |
ctest -S KWDashboardScripts/metroplex_itk_codecov.cmake -V | |
cp KWDashboardScripts/itk_codecov.yml Tests/ITKCodeCov-build/codecov.yml | |
cd Tests/ITKCodeCov-build | |
# Capture coverage info | |
lcov --directory . --capture --output-file coverage.info | |
# Filter out system, third party files |
# Client maintainer: [email protected] | |
cmake_minimum_required(VERSION 3.5) | |
set(CTEST_SITE "metroplex.kitware") | |
set(CTEST_BUILD_NAME "CodeCov") | |
set(CTEST_BUILD_CONFIGURATION "Debug") | |
set(CTEST_BUILD_FLAGS "") | |
set(CTEST_CMAKE_GENERATOR "Ninja") | |
set(CTEST_TEST_ARGS PARALLEL_LEVEL 12) | |
set(ENV{ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS} 8) |
codecov: | |
notify: | |
require_ci_to_pass: no | |
disable_default_path_fixes: yes | |
fixes: | |
- "work/Tests/ITK/::" | |
- "work/Tests/ITKCodeCov-build/::" | |
ignore: | |
- "usr/include/.*" |
function transfer | |
if test (count $argv) -eq 0 | |
echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md" | |
return 1 | |
end | |
## get temporarily filename, output is written to this file show progress can be showed | |
set tmpfile ( mktemp -t transferXXX ) | |
## upload stdin or file |
+ ./#work#Tests#ITK#Examples#Filtering#GradientMagnitudeImageFilter.cxx.gcov bytes=14495 | |
+ ./#work#Tests#ITK#Examples#Filtering#SmoothingRecursiveGaussianImageFilter.cxx.gcov bytes=21478 | |
+ ./#work#Tests#ITK#Examples#Filtering#LaplacianRecursiveGaussianImageFilter2.cxx.gcov bytes=15679 | |
+ ./#work#Tests#ITK#Examples#Segmentation#LaplacianSegmentationLevelSetImageFilter.cxx.gcov bytes=26306 | |
==> Appending adjustments | |
http://docs.codecov.io/docs/fixing-reports | |
+ Found 55595 adjustments | |
==> Uploading reports | |
url: https://codecov.io | |
query: branch=&commit=&build=&build_url=&tag=&slug=&yaml=&service=&flags=&pr=&job= |