Skip to content

Commit a73c388

Browse files
LucasGandelthewtexjcfr
committed
ENH: Add support for continuous integration testing using CircleCI
This commit adds config file teaching CircleCI how to configure, build and test the project. The project will be tested using a docker container associated with ITK v4.8.0. If the container already exists on dockerhub, it will be pulled otherwise CircleCI will fail. This commit also update the README file adding the convenient CircleCI status badge. Note that test results will also be submitted on CDash: http://slicer.cdash.org/index.php?project=SlicerExecutionModel See PR #49 Co-authored-by: Matt McCormick <matt.mccormick@kitware.com> Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
1 parent 96978d8 commit a73c388

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
SlicerExecutionModel
22
====================
33

4+
[![Circle CI](https://circleci.com/gh/Slicer/SlicerExecutionModel.svg?style=svg)](https://circleci.com/gh/Slicer/SlicerExecutionModel)
5+
46
Overview
57
--------
68

circle.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
machine:
2+
services:
3+
- docker
4+
5+
dependencies:
6+
override:
7+
- docker info
8+
- docker pull slicer/slicerexecutionmodel:itk-v4.8.0_use_system_libraries-off
9+
10+
test:
11+
override:
12+
- mkdir ~/SlicerExecutionModel-build
13+
- docker run -v ~/SlicerExecutionModel:/usr/src/SlicerExecutionModel -v ~/SlicerExecutionModel-build:/usr/src/SlicerExecutionModel-build slicer/slicerexecutionmodel:itk-v4.8.0_use_system_libraries-off /usr/src/SlicerExecutionModel/test/Docker/test.sh
14+

0 commit comments

Comments
 (0)