зеркало из https://github.com/mozilla/normandy.git
40 строки
852 B
YAML
40 строки
852 B
YAML
machine:
|
|
pre:
|
|
# Install CircleCI's fork for Docker 1.10.0
|
|
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
|
|
- chmod -R 777 $CIRCLE_TEST_REPORTS $CIRCLE_ARTIFACTS
|
|
services:
|
|
- postgresql
|
|
- docker
|
|
environment:
|
|
MOCK_SERVER_DOMAIN: https://normandy-mock.dev.mozaws.net
|
|
MOCK_SERVER_ARTIFACTS: "${CIRCLE_ARTIFACTS}/mock-recipe-server"
|
|
|
|
dependencies:
|
|
pre:
|
|
- docker info
|
|
override:
|
|
- ./bin/ci/runner.sh dependencies
|
|
|
|
compile:
|
|
override:
|
|
- ./bin/ci/runner.sh compile
|
|
|
|
test:
|
|
override:
|
|
- ./bin/ci/runner.sh test
|
|
post:
|
|
- ./bin/ci/runner.sh test-post
|
|
|
|
deployment:
|
|
latest:
|
|
branch: master
|
|
commands:
|
|
- ./bin/ci/runner.sh deploy latest
|
|
|
|
tags:
|
|
# push all tags
|
|
tag: /.*/
|
|
commands:
|
|
- ./bin/ci/runner.sh deploy "$CIRCLE_TAG"
|