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: ...@@ -14,7 +14,6 @@ before_script:
- apk add gcc - apk add gcc
- pip install docker-compose==1.23.2 - pip install docker-compose==1.23.2
stages: stages:
- build - build
- test - test
...@@ -27,5 +26,7 @@ build: ...@@ -27,5 +26,7 @@ build:
test: test:
script: script:
#run container
- docker-compose -f docker/docker-compose.yml up -d
#run Phpunit test #run Phpunit test
- docker exec -it -w //var/www/html/alecsia/app docker_alecsia_1 ./../vendor/bin/phpunit - docker exec -i -w //var/www/html/alecsia/app docker_alecsia_1 ./../vendor/bin/phpunit
\ No newline at end of file \ 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