소스 검색
add backend testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
pull/1/merge
Bo-Yi Wu
7 년 전
No known key found for this signature in database
GPG 키 ID: F84B2110C500B1F
1개의 변경된 파일과
8개의 추가작업 그리고
1개의 파일을 삭제
-
.drone.yml
|
|
@ -8,7 +8,6 @@ pipeline: |
|
|
|
|
|
|
|
frontend: |
|
|
|
image: node:8.1.2 |
|
|
|
pull: true |
|
|
|
commands: |
|
|
|
- node -v |
|
|
|
- npm -v |
|
|
@ -16,3 +15,11 @@ pipeline: |
|
|
|
- yarn config set cache-folder .yarn-cache |
|
|
|
- yarn install |
|
|
|
- yarn run production |
|
|
|
|
|
|
|
backend: |
|
|
|
image: laradock/workspace:1.8-71 |
|
|
|
commands: |
|
|
|
- php -v |
|
|
|
- composer -V |
|
|
|
- composer install --prefer-dist |
|
|
|
- ./vendor/bin/phpunit |