[Repository Listing] / [Slicer4] / trunk / circle.yml
 

View of /trunk/circle.yml

Parent Directory Parent Directory Revision Log Revision Log


Revision 25882  Download Blame
File size: 919 byte(s)
ENH: CircleCI: Attempt to reduce used memory switching from -j5 to -j3

Suggested-by: Matt McCormick <matt.mccormick@kitware.com>
1 machine:
2 pre:
3 - curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
4 services:
5 - docker
6 python:
7 version: 2.7.11
8
9 dependencies:
10 cache_directories:
11 - "~/docker"
12
13 override:
14 - docker info
15 - pip install scikit-ci-addons==0.11.0
16 - ci_addons docker load-pull-save slicer/slicer-dependencies
17
18 test:
19 override:
20 - "echo 'Notice: CircleCI does not build changes to Slicer dependencies' && if git diff --name-only master | grep -q SuperBuild > /dev/null; then echo 'Please create a Pull Request on https://github.com/thewtex/SlicerDocker according to the Update section of the project README.'; false; fi"
21 - docker run -e "BUILD_TOOL_FLAGS=-j3" --name slicer -v ~/Slicer:/usr/src/Slicer slicer/slicer-dependencies
22 - docker cp slicer:$(docker cp slicer:/usr/src/Slicer-build/Slicer-build/PACKAGE_FILE.txt - | tar xO) $CIRCLE_ARTIFACTS

  Subversion  TortoiseSVN  ViewVC