Browse Source
add backend testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
pull/1/merge
Bo-Yi Wu
7 years ago
No known key found for this signature in database
GPG Key ID: F84B2110C500B1F
1 changed files with
8 additions and
1 deletions
-
.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 |