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.

39 lines
703 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. - cp .env.example .env
  22. - composer install --prefer-dist
  23. - ./vendor/bin/phpunit
  24. services:
  25. elasticsearch:
  26. context: docker/elasticsearch
  27. redis:
  28. image: redis:latest
  29. postgres:
  30. image: postgres:9.5.5
  31. environment:
  32. - POSTGRES_DB=test
  33. - POSTGRES_USER=test
  34. - POSTGRES_PASSWORD=