Skip to content

Instantly share code, notes, and snippets.

@miguelbemartin
Last active June 5, 2019 17:31
Show Gist options
  • Save miguelbemartin/10b0e69eb20616c3b846b425012ab322 to your computer and use it in GitHub Desktop.
Save miguelbemartin/10b0e69eb20616c3b846b425012ab322 to your computer and use it in GitHub Desktop.
image: cromattica/ubuntu-php72
pipelines:
branches:
master:
- step:
caches:
- composer
deployment: production
script:
- composer install --no-interaction --no-progress --prefer-dist
- ./vendor/bin/simple-phpunit
# Your deployment scrips...
definitions:
services:
db:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: test
MYSQL_DATABASE: test
MYSQL_USER: test
MYSQL_PASSWORD: test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment