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.

40 lines
765 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. - php artisan key:generate
  23. - composer install --prefer-dist
  24. - ./vendor/bin/phpunit
  25. services:
  26. elasticsearch:
  27. image: docker.elastic.co/elasticsearch/elasticsearch:5.3.0
  28. redis:
  29. image: redis:latest
  30. postgres:
  31. image: postgres:9.5.5
  32. environment:
  33. - POSTGRES_DB=test
  34. - POSTGRES_USER=test
  35. - POSTGRES_PASSWORD=