.drone.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. build:
  2. integration:
  3. image: morrisjobke/nextcloud-ci-php7:1.0.3
  4. commands:
  5. - git submodule update --init
  6. - ./occ maintenance:install --admin-pass=admin
  7. - cd build/integration
  8. - ./run.sh
  9. jsunit:
  10. image: morrisjobke/nextcloud-ci-jsunit:1.0.2
  11. commands:
  12. - ./autotest-js.sh
  13. sqlite:
  14. image: morrisjobke/nextcloud-ci-php7:1.0
  15. commands:
  16. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  17. - git submodule update --init
  18. - ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass=''
  19. - ./autotest.sh sqlite
  20. postgres:
  21. image: morrisjobke/nextcloud-ci-php7:1.0
  22. commands:
  23. - sleep 10 # gives the database enough time to initialize
  24. - rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
  25. - git submodule update --init
  26. - ./autotest.sh pgsql
  27. compose:
  28. cache:
  29. image: redis
  30. postgres:
  31. image: postgres
  32. environment:
  33. - POSTGRES_USER=oc_autotest
  34. - POSTGRES_PASSWORD=oc_autotest