add development and production targets; run phpunit in container
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lexi / Zoe 2020-06-28 18:07:30 +02:00
parent 2a0af653cb
commit 9095a604a2
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
5 changed files with 23 additions and 8 deletions

View file

@ -29,13 +29,13 @@ steps:
commands:
- composer install --no-progress --no-interaction --no-dev --optimize-autoloader
- name: build image
- name: build production image
image: docker
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- docker build -t notecat:latest .
- docker build --target production -t notecat:latest .
- name: deploy on testing
image: docker/compose