aswi2020sebela-gitlab/.gitlab-ci.yml @ 59edbad2
1 | d35ff36f | vastja | image: php:7.2-alpine |
---|---|---|---|
2 | 27460050 | vastja | |
3 | stages: |
||
4 | - test |
||
5 | |||
6 | before_script: |
||
7 | d35ff36f | vastja | - apk update |
8 | - apk upgrade |
||
9 | 27460050 | vastja | |
10 | unit_tests: |
||
11 | stage: test |
||
12 | script: |
||
13 | 59edbad2 | vastja | - apk add composer |
14 | 27460050 | vastja | - cd website |
15 | 59edbad2 | vastja | - composer require --dev symfony/phpunit-bridge |
16 | 6555ad1f | vastja | - ls bin/ |
17 | 27460050 | vastja | - php bin/phpunit |