Browse Source

add backend testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
pull/1/merge
Bo-Yi Wu 4 years ago
parent
commit
eb044d5ae6
No known key found for this signature in database GPG Key ID: F84B2110C500B1F
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      .drone.yml

+ 8
- 1
.drone.yml View File

@ -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

Loading…
Cancel
Save