.gitlab-ci.yml 252 Bytes
Newer Older
therealwa3er's avatar
therealwa3er committed
1
image: docker:latest
therealwa3er's avatar
therealwa3er committed
2

therealwa3er's avatar
therealwa3er committed
3
4
5
before_script:
    
- pip install docker-compose
therealwa3er's avatar
therealwa3er committed
6
7

stages:
therealwa3er's avatar
therealwa3er committed
8
9
    - build
    - test
therealwa3er's avatar
therealwa3er committed
10
    
therealwa3er's avatar
therealwa3er committed
11
12
13
14
build:
    - docker-compose up -d

test:
therealwa3er's avatar
therealwa3er committed
15
  script:
therealwa3er's avatar
therealwa3er committed
16
  - docker exec  -it -w //var/www/html/alecsia/app docker_alecsia_1   ./../vendor/bin/phpunit