https://github.com/owncloud/core
Tip revision: 8af6be3228cd250241aeee2af14c1acac4708553 authored by Vincent Petry on 09 January 2018, 08:20:49 UTC
Set version to 10.0.5 RC1
Set version to 10.0.5 RC1
Tip revision: 8af6be3
.travis.yml
sudo: false
language: php
php:
- 5.6
cache:
directories:
- $HOME/.cache/bower
- $HOME/.composer/cache
- $HOME/.npm
- /tmp/phantomjs
env:
global:
- TEST_DAV=$(tests/travis/changed_app.sh dav)
- TC=litmus-v2
- SRV_HOST_NAME=owncloud
- SRV_HOST_PORT=8889
- REMOTE_FED_SRV_HOST_NAME=owncloud
- REMOTE_FED_SRV_HOST_PORT=8989
matrix:
- DB=sqlite
branches:
only:
- master
- /^stable\d+(\.\d+)?$/
addons:
apt: &common_apt
packages:
- realpath
- net-tools
- libxml2-utils
hosts: &common_hosts
- owncloud
before_install:
- make
- sh -c "if [ '$TEST_DAV' = '1' ] || [ '$TC' = 'selenium' ]; then bash tests/travis/before_install.sh $DB; fi"
install:
- sh -c "if [ '$TEST_DAV' = '1' ] || [ '$TC' = 'selenium' ]; then bash tests/travis/install.sh $DB; fi"
- sh -c "if [ '$TEST_DAV' = '1' ]; then bash apps/dav/tests/travis/$TC/install.sh; fi"
before_script:
- sh -c "if [ '$TC' = 'selenium' ]; then bash tests/travis/start_php_dev_server.sh; fi"
script:
- sh -c "if [ '$TC' = 'syntax' ]; then make test-php-lint ; fi"
- sh -c "if [ '$TEST_DAV' != '1' ]; then echo \"Not testing DAV\"; fi"
- sh -c "if [ '$TEST_DAV' = '1' ]; then echo \"Testing DAV\"; fi"
- sh -c "if [ '$TEST_DAV' = '1' ]; then bash apps/dav/tests/travis/$TC/script.sh; fi"
- sh -c "if [ '$TC' = 'selenium' ]; then bash tests/travis/start_ui_tests.sh; fi"
matrix:
include:
- php: 5.6
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest" BEHAT_SUITE="other" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest" BEHAT_SUITE="files" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest" BEHAT_SUITE="moveFilesFolders" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest" BEHAT_SUITE="renameFiles" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest" BEHAT_SUITE="renameFolders" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest" BEHAT_SUITE="trashbin" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest" BEHAT_SUITE="sharingInternalGroupsUsers" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest" BEHAT_SUITE="sharingExternalOther" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest" BEHAT_SUITE="restrictSharing" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest" BEHAT_SUITE="upload" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="firefox" BROWSER_VERSION="47.0" BEHAT_SUITE="other" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="firefox" BROWSER_VERSION="47.0" BEHAT_SUITE="files" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="firefox" BROWSER_VERSION="47.0" BEHAT_SUITE="moveFilesFolders" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="firefox" BROWSER_VERSION="47.0" BEHAT_SUITE="renameFiles" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="firefox" BROWSER_VERSION="47.0" BEHAT_SUITE="renameFolders" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="firefox" BROWSER_VERSION="47.0" BEHAT_SUITE="trashbin" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="firefox" BROWSER_VERSION="47.0" BEHAT_SUITE="sharingInternalGroupsUsers" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="firefox" BROWSER_VERSION="47.0" BEHAT_SUITE="sharingExternalOther" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="firefox" BROWSER_VERSION="47.0" BEHAT_SUITE="restrictSharing" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="firefox" BROWSER_VERSION="47.0" BEHAT_SUITE="upload" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
env: DB=pgsql TC=litmus-v1
- php: 5.6
env: DB=sqlite TC=carddav
- php: 5.6
env: DB=sqlite TC=caldav
- php: 5.6
env: DB=sqlite TC=caldav-old-endpoint
- php: 5.6
env: DB=sqlite TC=carddav-old-endpoint
- php: 5.6
env: DB=sqlite TC=syntax TEST_DAV=0
- php: 7.0
env: DB=sqlite TC=syntax TEST_DAV=0
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest-1" BEHAT_SUITE="other" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest-1" BEHAT_SUITE="files" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest-1" BEHAT_SUITE="moveFilesFolders" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest-1" BEHAT_SUITE="renameFiles" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest-1" BEHAT_SUITE="renameFolders" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest-1" BEHAT_SUITE="trashbin" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest-1" BEHAT_SUITE="sharingInternalGroupsUsers" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest-1" BEHAT_SUITE="sharingExternalOther" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest-1" BEHAT_SUITE="restrictSharing" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="chrome" BROWSER_VERSION="latest-1" BEHAT_SUITE="upload" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="MicrosoftEdge" BROWSER_VERSION="latest" BEHAT_SUITE="other" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="MicrosoftEdge" BROWSER_VERSION="latest" BEHAT_SUITE="files" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="MicrosoftEdge" BROWSER_VERSION="latest" BEHAT_SUITE="moveFilesFolders" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="MicrosoftEdge" BROWSER_VERSION="latest" BEHAT_SUITE="renameFiles" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="MicrosoftEdge" BROWSER_VERSION="latest" BEHAT_SUITE="renameFolders" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="MicrosoftEdge" BROWSER_VERSION="latest" BEHAT_SUITE="trashbin" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="MicrosoftEdge" BROWSER_VERSION="latest" BEHAT_SUITE="sharingInternalGroupsUsers" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="MicrosoftEdge" BROWSER_VERSION="latest" BEHAT_SUITE="sharingExternalOther" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="MicrosoftEdge" BROWSER_VERSION="latest" BEHAT_SUITE="restrictSharing" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="MicrosoftEdge" BROWSER_VERSION="latest" BEHAT_SUITE="upload" PLATFORM="Windows 10" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="internet explorer" BROWSER_VERSION="11.0" BEHAT_SUITE="other" PLATFORM="Windows 7" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="internet explorer" BROWSER_VERSION="11.0" BEHAT_SUITE="moveFilesFolders" PLATFORM="Windows 7" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="internet explorer" BROWSER_VERSION="11.0" BEHAT_SUITE="renameFiles" PLATFORM="Windows 7" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="internet explorer" BROWSER_VERSION="11.0" BEHAT_SUITE="renameFolders" PLATFORM="Windows 7" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="internet explorer" BROWSER_VERSION="11.0" BEHAT_SUITE="files" PLATFORM="Windows 7" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="internet explorer" BROWSER_VERSION="11.0" BEHAT_SUITE="trashbin" PLATFORM="Windows 7" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="internet explorer" BROWSER_VERSION="11.0" BEHAT_SUITE="sharingInternalGroupsUsers" PLATFORM="Windows 7" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="internet explorer" BROWSER_VERSION="11.0" BEHAT_SUITE="sharingExternalOther" PLATFORM="Windows 7" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="internet explorer" BROWSER_VERSION="11.0" BEHAT_SUITE="restrictSharing" PLATFORM="Windows 7" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
- php: 5.6
if: type = cron
env: DB=pgsql TC=selenium BROWSER="internet explorer" BROWSER_VERSION="11.0" BEHAT_SUITE="upload" PLATFORM="Windows 7" TEST_DAV=0
addons:
apt: *common_apt
hosts: *common_hosts
sauce_connect: true
fast_finish: true