diff options
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 108 |
1 files changed, 79 insertions, 29 deletions
diff --git a/.drone.yml b/.drone.yml index 2ee5e8c0730..5634c496a6c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,14 +13,14 @@ pipeline: matrix: TESTS: jsunit check-autoloader: - image: nextcloudci/php7.0:php7.0-6 + image: nextcloudci/php7.0:php7.0-7 commands: - bash ./build/autoloaderchecker.sh when: matrix: TESTS: check-autoloader app-check-code: - image: nextcloudci/php7.0:php7.0-6 + image: nextcloudci/php7.0:php7.0-7 commands: - ./occ app:check-code admin_audit - ./occ app:check-code comments @@ -33,14 +33,14 @@ pipeline: matrix: TESTS: app-check-code signed-off-check: - image: nextcloudci/php7.0:php7.0-6 + image: nextcloudci/php7.0:php7.0-7 commands: - php ./build/signed-off-checker.php when: matrix: TESTS: signed-off-check htaccess-checker: - image: nextcloudci/php7.0:php7.0-6 + image: nextcloudci/php7.0:php7.0-7 commands: - php ./build/htaccess-checker.php when: @@ -55,7 +55,7 @@ pipeline: matrix: TESTS: syntax-php5.6 syntax-php7.0: - image: nextcloudci/php7.0:php7.0-6 + image: nextcloudci/php7.0:php7.0-7 commands: - composer install - ./lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php . @@ -104,6 +104,32 @@ pipeline: when: matrix: TESTS: carddavtester + sqlite-php7.0-samba-native: + image: nextcloudci/samba-native-php7.0:samba-native-php7.0-1 + commands: + - smbd -D -FS & + - ./autotest-external.sh sqlite smb-linux + - wget https://codecov.io/bash -O codecov.sh + - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi" + when: + matrix: + TESTS: sqlite-php7.0-samba-native + sqlite-php7.0-samba-non-native: + image: nextcloudci/samba-non-native-php7.0:samba-non-native-php7.0-2 + commands: + - smbd -D -FS & + - ./autotest-external.sh sqlite smb-linux + - wget https://codecov.io/bash -O codecov.sh + - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi" + when: + matrix: + TESTS: sqlite-php7.0-samba-non-native nodb-php5.6: image: nextcloudci/php5.6:php5.6-7 commands: @@ -113,7 +139,7 @@ pipeline: DB: NODB PHP: 5.6 nodb-php7.0: - image: nextcloudci/php7.0:php7.0-6 + image: nextcloudci/php7.0:php7.0-7 commands: - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite when: @@ -137,7 +163,7 @@ pipeline: DB: sqlite PHP: 5.6 sqlite-php7.0: - image: nextcloudci/php7.0:php7.0-6 + image: nextcloudci/php7.0:php7.0-7 commands: - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite when: @@ -178,7 +204,7 @@ pipeline: DB: mysqlmb4 PHP: 5.6 integration-capabilities_features: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -187,7 +213,7 @@ pipeline: matrix: TESTS: integration-capabilities_features integration-federation_features: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -196,7 +222,7 @@ pipeline: matrix: TESTS: integration-federation_features integration-auth: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -205,7 +231,7 @@ pipeline: matrix: TESTS: integration-auth integration-carddav: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -214,7 +240,7 @@ pipeline: matrix: TESTS: integration-carddav integration-dav-v2: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -223,7 +249,7 @@ pipeline: matrix: TESTS: integration-dav-v2 integration-ocs-v1: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -232,7 +258,7 @@ pipeline: matrix: TESTS: integration-ocs-v1 integration-sharing-v1: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -241,7 +267,7 @@ pipeline: matrix: TESTS: integration-sharing-v1 integration-checksums-v1: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -250,7 +276,7 @@ pipeline: matrix: TESTS: integration-checksums integration-external-storage: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -259,7 +285,7 @@ pipeline: matrix: TESTS: integration-external-storage integration-provisioning-v1: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -268,7 +294,7 @@ pipeline: matrix: TESTS: integration-provisioning-v1 integration-tags: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -277,7 +303,7 @@ pipeline: matrix: TESTS: integration-tags integration-caldav: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -286,7 +312,7 @@ pipeline: matrix: TESTS: integration-caldav integration-comments: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -295,7 +321,7 @@ pipeline: matrix: TESTS: integration-comments integration-favorites: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -304,7 +330,7 @@ pipeline: matrix: TESTS: integration-favorites integration-provisioning-v2: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -313,7 +339,7 @@ pipeline: matrix: TESTS: integration-provisioning-v2 integration-webdav-related: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -322,7 +348,7 @@ pipeline: matrix: TESTS: integration-webdav-related integration-sharees-features: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -331,7 +357,7 @@ pipeline: matrix: TESTS: integration-sharees-features integration-setup-features: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - cd build/integration - ./run.sh setup_features/setup.feature @@ -339,7 +365,7 @@ pipeline: matrix: TESTS: integration-setup-features integration-filesdrop-features: - image: nextcloudci/integration-php7.0:integration-php7.0-2 + image: nextcloudci/integration-php7.0:integration-php7.0-3 commands: - ./occ maintenance:install --admin-pass=admin - cd build/integration @@ -347,8 +373,17 @@ pipeline: when: matrix: TESTS: integration-filesdrop-features + integration-transfer-ownership-features: + image: nextcloudci/integration-php7.0:integration-php7.0-3 + commands: + - ./occ maintenance:install --admin-pass=admin + - cd build/integration + - ./run.sh features/transfer-ownership.feature + when: + matrix: + TESTS: integration-transfer-ownership-features nodb-codecov: - image: nextcloudci/php7.0:php7.0-6 + image: nextcloudci/php7.0:php7.0-7 commands: - TEST_SELECTION=NODB ./autotest.sh sqlite - wget https://codecov.io/bash -O codecov.sh @@ -358,7 +393,7 @@ pipeline: matrix: TESTS: nodb-codecov db-codecov: - image: nextcloudci/php7.0:php7.0-6 + image: nextcloudci/php7.0:php7.0-7 commands: - TEST_SELECTION=QUICKDB ./autotest.sh sqlite - wget https://codecov.io/bash -O codecov.sh @@ -367,12 +402,23 @@ pipeline: when: matrix: TESTS: db-codecov + memcache-memcached: + image: nextcloudci/php7.0-memcached:php7.0-memcached-6 + commands: + - service memcached restart + - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php + - wget https://codecov.io/bash -O codecov.sh + - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi" + when: + matrix: + TEST: memcache-memcached matrix: include: - TESTS: signed-off-check - TESTS: htaccess-checker - TESTS: nodb-codecov - - TESTS: db-codecov + - TESTS: db-codecov - TESTS: integration-capabilities_features - TESTS: integration-federation_features - TESTS: integration-auth @@ -392,6 +438,7 @@ matrix: - TESTS: integration-sharees-features - TESTS: integration-setup-features - TESTS: integration-filesdrop-features + - TESTS: integration-transfer-ownership-features - TESTS: jsunit - TESTS: check-autoloader - TESTS: app-check-code @@ -402,6 +449,9 @@ matrix: - TESTS: litmus-v2 - TESTS: caldavtester - TESTS: carddavtester + - TESTS: sqlite-php7.0-samba-native + - TESTS: sqlite-php7.0-samba-non-native + - TEST: memcache-memcached - DB: NODB PHP: 5.6 - DB: NODB |