aswi2020merlot-gitlab/.gitlab-ci.yml @ bcd08947
1 |
stages: |
---|---|
2 |
- build |
3 |
- test |
4 |
|
5 |
build: |
6 |
stage: build |
7 |
# only:
|
8 |
# refs:
|
9 |
# - master
|
10 |
script: |
11 |
- composer install |
12 |
- cp .env.example .env |
13 |
- php artisan key:generate |
14 |
- php artisan migrate --seed |
15 |
|
16 |
unit_test: |
17 |
stage: test |
18 |
# only:
|
19 |
# refs:
|
20 |
# - master
|
21 |
script: |
22 |
- php ./vendor/bin/phpunit |