1
0

.drone.yml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. build:
  2. jsunit:
  3. image: nextcloudci/jsunit:1.0.6
  4. commands:
  5. - ./autotest-js.sh
  6. nodb-php5.4:
  7. image: nextcloudci/php5.4:1.0.7
  8. commands:
  9. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  10. - git submodule update --init
  11. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  12. nodb-php5.5:
  13. image: nextcloudci/php5.5:1.0.7
  14. commands:
  15. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  16. - git submodule update --init
  17. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  18. nodb-php5.6:
  19. image: nextcloudci/php5.6:1.0.6
  20. commands:
  21. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  22. - git submodule update --init
  23. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  24. nodb-php7.0:
  25. image: nextcloudci/php7.0:1.0.9
  26. commands:
  27. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  28. - git submodule update --init
  29. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  30. sqlite-php5.4:
  31. image: nextcloudci/php5.4:1.0.7
  32. commands:
  33. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  34. - git submodule update --init
  35. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  36. sqlite-php5.5:
  37. image: nextcloudci/php5.5:1.0.7
  38. commands:
  39. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  40. - git submodule update --init
  41. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  42. sqlite-php5.6:
  43. image: nextcloudci/php5.6:1.0.6
  44. commands:
  45. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  46. - git submodule update --init
  47. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  48. sqlite-php7.0:
  49. image: nextcloudci/php7.0:1.0.9
  50. commands:
  51. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  52. - git submodule update --init
  53. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  54. mysql-php5.6:
  55. image: nextcloudci/php5.6:1.0.6
  56. commands:
  57. - sleep 15 # gives the database enough time to initialize
  58. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  59. - git submodule update --init
  60. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  61. postgres-php5.6:
  62. image: nextcloudci/php5.6:1.0.6
  63. commands:
  64. - sleep 10 # gives the database enough time to initialize
  65. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  66. - git submodule update --init
  67. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  68. integration:
  69. image: nextcloudci/php7.0:1.0.9
  70. commands:
  71. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  72. - git submodule update --init
  73. - ./occ maintenance:install --admin-pass=admin
  74. - cd build/integration
  75. - ./run.sh
  76. compose:
  77. cache:
  78. image: redis
  79. postgres:
  80. image: postgres
  81. environment:
  82. - POSTGRES_USER=oc_autotest
  83. - POSTGRES_PASSWORD=oc_autotest
  84. mysql:
  85. image: mysql
  86. environment:
  87. - MYSQL_ROOT_PASSWORD=owncloud
  88. - MYSQL_USER=oc_autotest
  89. - MYSQL_PASSWORD=owncloud
  90. - MYSQL_DATABASE=oc_autotest