Commit 2ac68b12 authored by therealwa3er's avatar therealwa3er
Browse files

buid test succes, change test build in order to run containers befor execute...

 buid test succes, change test build in order to run containers befor execute test commande and remove  TTY( -t flag removed)
parent 239799bf
Pipeline #57 failed with stage
in 2 minutes and 1 second
......@@ -14,7 +14,6 @@ before_script:
- apk add gcc
- pip install docker-compose==1.23.2
stages:
- build
- test
......@@ -27,5 +26,7 @@ build:
test:
script:
#run container
- docker-compose -f docker/docker-compose.yml up -d
#run Phpunit test
- docker exec -it -w //var/www/html/alecsia/app docker_alecsia_1 ./../vendor/bin/phpunit
\ No newline at end of file
- docker exec -i -w //var/www/html/alecsia/app docker_alecsia_1 ./../vendor/bin/phpunit
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment