dockcross/circle.yml
Jean-Christophe Fillion-Robin 6018cc6241
ci: Split building and waiting for base image into its own command
This should help reduce the overall time associated with the test step
and avoid reaching the 120mins cutoff time for a given command.
2016-11-25 18:12:00 -05:00

38 lines
920 B
YAML

machine:
# XXX: btrfs circleCI fix, see: https://github.com/docker/docker/issues/9939 and https://github.com/Sabayon/docker-stage3-base-amd64/commit/8c1bf737113a278dd2f
pre:
- sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.0-circleci'
- sudo chmod 0755 /usr/bin/docker
services:
- docker
dependencies:
cache_directories:
- "~/docker"
override:
- docker info
- curl -fsSL https://git.io/v2Ifs -o ~/bin/circleci-matrix
- chmod +x ~/bin/circleci-matrix
test:
override:
- circleci-matrix:
parallel: true
environment:
STEP: dependencies
- circleci-matrix:
parallel: true
timeout: 3000
environment:
STEP: test
deployment:
hub:
branch: master
commands:
- circleci-matrix:
parallel: true
environment:
STEP: deployment