Ребилдим testphp контейнер при тестировании

This commit is contained in:
ErickSkrauch 2016-11-05 18:03:04 +03:00
parent bc2f1d4ce9
commit d5a3daf218

View File

@ -14,12 +14,11 @@ test:backend:
before_script: before_script:
- docker login -u gitlab-ci -p $CI_BUILD_TOKEN registry.ely.by - docker login -u gitlab-ci -p $CI_BUILD_TOKEN registry.ely.by
- echo "$SSH_PRIVATE_KEY" > id_rsa - echo "$SSH_PRIVATE_KEY" > id_rsa
- docker-compose -f tests/docker-compose.yml build --pull testphp
after_script: after_script:
- docker-compose -f tests/docker-compose.yml down -v - docker-compose -f tests/docker-compose.yml down -v
script: script:
- docker-compose -f tests/docker-compose.yml run --rm testphp ./vendor/bin/codecept run -c tests - docker-compose -f tests/docker-compose.yml run --rm testphp ./vendor/bin/codecept run -c tests
tags:
- docker
test:frontend: test:frontend:
image: node:5.12 image: node:5.12