mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 07:30:18 +05:30
Ребилдим testphp контейнер при тестировании
This commit is contained in:
parent
bc2f1d4ce9
commit
d5a3daf218
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user