You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
674 B

  1. clone:
  2. git:
  3. image: plugins/git
  4. depth: 50
  5. tags: true
  6. pipeline:
  7. frontend:
  8. image: node:8.1.2
  9. commands:
  10. - node -v
  11. - npm -v
  12. - yarn --version
  13. - yarn config set cache-folder .yarn-cache
  14. - yarn install
  15. - yarn run production
  16. backend:
  17. image: laradock/workspace:1.8-71
  18. commands:
  19. - php -v
  20. - composer -V
  21. - composer install --prefer-dist
  22. - ./vendor/bin/phpunit
  23. services:
  24. elasticsearch:
  25. context: docker/elasticsearch
  26. redis:
  27. image: redis:latest
  28. postgres:
  29. image: postgres:9.5.5
  30. environment:
  31. - POSTGRES_DB=test
  32. - POSTGRES_USER=test
  33. - POSTGRES_PASSWORD=