Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- workspace:
- base: /drone
- path: src
- branches: [master, stable10, stable9.1, stable9]
- clone:
- git:
- image: plugins/git
- depth: 1
- pipeline:
- restore:
- image: plugins/s3-cache:1
- pull: true
- secrets: [ cache_s3_endpoint, cache_s3_access_key, cache_s3_secret_key ]
- restore: true
- when:
- local: false
- event: [push, pull_request]
- composer:
- image: owncloudci/php:${PHP_VERSION}
- pull: true
- commands:
- - ./tests/drone/composer-install.sh
- when:
- event: [push, pull_request]
- yarn:
- image: owncloudci/nodejs:latest
- pull: true
- commands:
- - ./tests/drone/yarn-install.sh
- when:
- event: [push, pull_request]
- rebuild:
- image: plugins/s3-cache:1
- pull: true
- secrets: [ cache_s3_endpoint, cache_s3_access_key, cache_s3_secret_key ]
- rebuild: true
- mount:
- - lib/composer
- - core/vendor
- - build/node_modules
- when:
- local: false
- event: [ push ]
- flush:
- image: plugins/s3-cache:1
- pull: true
- secrets: [ cache_s3_endpoint, cache_s3_access_key, cache_s3_secret_key ]
- flush: true
- flush_age: 14
- when:
- local: false
- event: [push]
- services:
- postgres:
- image: postgres:9.4
- environment:
- - POSTGRES_USER=owncloud
- - POSTGRES_PASSWORD=owncloud
- - POSTGRES_DB=owncloud
- when:
- matrix:
- DB_TYPE: postgres
- selenium:
- image: selenium/standalone-chrome:latest
- pull: true
- when:
- matrix:
- TEST_SUITE: selenium
- matrix:
- include:
- - PHP_VERSION: 5.6
- DB_TYPE: postgres
- TEST_SUITE: selenium
Add Comment
Please, Sign In to add comment