From September 26, 2017 to November 31, 2017.
Python versions from 2.6 to 3.6
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
| 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 |
| #ifndef _Registration_hpp | |
| #define _Registration_hpp | |
| #include <iostream> | |
| //#include "Types.hpp" | |
| #include <itkImageRegistrationMethod.h> | |
| #include <itkTranslationTransform.h> | |
| #include <itkMeanSquaresImageToImageMetric.h> | |
| #include <itkLinearInterpolateImageFunction.h> |
| cmake_minimum_required( VERSION 2.8 ) | |
| project( Registration ) | |
| find_package( ITK REQUIRED ) | |
| include( ${ITK_USE_FILE} ) | |
| include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ) | |
| add_executable( ${PROJECT_NAME} main.cpp ) |
| cmake \ | |
| -DITK_BUILD_DEFAULT_MODULES:BOOL=OFF \ | |
| -DBUILD_TESTING:BOOL=OFF \ | |
| -DBUILD_EXAMPLES:BOOL=OFF \ | |
| -DITKGroup_Core:BOOL=OFF \ | |
| -DModule_ITKCommon:BOOL=ON \ | |
| -DCMAKE_SIZEOF_UNSIGNED_SHORT=2 \ | |
| -DCMAKE_TOOLCHAIN_FILE=/home/ibanez/src/emscripten/cmake/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ~/src/ITK |
| #!/usr/bin/env python | |
| """ | |
| simple example script for running and testing notebooks. | |
| Usage: `ipnbdoctest.py foo.ipynb [bar.ipynb [...]]` | |
| Each cell is submitted to the kernel, and the outputs are compared with those stored in the notebook. | |
| """ | |
| import os,sys,time |