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.

42 lines
803 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. group: laravel
  10. commands:
  11. - node -v
  12. - npm -v
  13. - yarn --version
  14. - yarn config set cache-folder .yarn-cache
  15. - yarn install
  16. - yarn run production
  17. backend:
  18. image: laradock/workspace:1.8-71
  19. group: laravel
  20. commands:
  21. - php -v
  22. - composer -V
  23. - cp .env.example .env
  24. - php artisan key:generate
  25. - composer install --prefer-dist
  26. - ./vendor/bin/phpunit
  27. services:
  28. elasticsearch:
  29. image: docker.elastic.co/elasticsearch/elasticsearch:5.3.0
  30. redis:
  31. image: redis:latest
  32. postgres:
  33. image: postgres:9.5.5
  34. environment:
  35. - POSTGRES_DB=test
  36. - POSTGRES_USER=test
  37. - POSTGRES_PASSWORD=