Guest User

Untitled

a guest
Jan 30th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. workspace:
  2. base: /drone
  3. path: src
  4.  
  5. branches: [master, stable10, stable9.1, stable9]
  6.  
  7. clone:
  8. git:
  9. image: plugins/git
  10. depth: 1
  11.  
  12. pipeline:
  13. restore:
  14. image: plugins/s3-cache:1
  15. pull: true
  16. secrets: [ cache_s3_endpoint, cache_s3_access_key, cache_s3_secret_key ]
  17. restore: true
  18. when:
  19. local: false
  20. event: [push, pull_request]
  21.  
  22. composer:
  23. image: owncloudci/php:${PHP_VERSION}
  24. pull: true
  25. commands:
  26. - ./tests/drone/composer-install.sh
  27. when:
  28. event: [push, pull_request]
  29.  
  30. yarn:
  31. image: owncloudci/nodejs:latest
  32. pull: true
  33. commands:
  34. - ./tests/drone/yarn-install.sh
  35. when:
  36. event: [push, pull_request]
  37.  
  38. rebuild:
  39. image: plugins/s3-cache:1
  40. pull: true
  41. secrets: [ cache_s3_endpoint, cache_s3_access_key, cache_s3_secret_key ]
  42. rebuild: true
  43. mount:
  44. - lib/composer
  45. - core/vendor
  46. - build/node_modules
  47. when:
  48. local: false
  49. event: [ push ]
  50.  
  51. flush:
  52. image: plugins/s3-cache:1
  53. pull: true
  54. secrets: [ cache_s3_endpoint, cache_s3_access_key, cache_s3_secret_key ]
  55. flush: true
  56. flush_age: 14
  57. when:
  58. local: false
  59. event: [push]
  60.  
  61.  
  62. services:
  63. postgres:
  64. image: postgres:9.4
  65. environment:
  66. - POSTGRES_USER=owncloud
  67. - POSTGRES_PASSWORD=owncloud
  68. - POSTGRES_DB=owncloud
  69. when:
  70. matrix:
  71. DB_TYPE: postgres
  72.  
  73. selenium:
  74. image: selenium/standalone-chrome:latest
  75. pull: true
  76. when:
  77. matrix:
  78. TEST_SUITE: selenium
  79.  
  80. matrix:
  81. include:
  82. - PHP_VERSION: 5.6
  83. DB_TYPE: postgres
  84. TEST_SUITE: selenium
Add Comment
Please, Sign In to add comment