From b11076608f92fa80ba5be34db0653f13be0802bc Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Sun, 22 May 2016 21:25:09 +0200 Subject: [PATCH] Master tests starting stable9 branch try out a universal test second shot trying nc and oc, throw away php 5.4 and server versions below 9.0 all env information in one line, otherwise to many useless builds are composed drop some cases, fix typo fix url, further reduce number of tests scenarios url fix, and further reduce tests scenarios moar fixes test against the desired server branch attempt to reduce more test scenarios more url fixes fix branch, excludes did not work adjust version info --- .travis.yml | 31 +++++++++++++++++-------------- appinfo/info.xml | 4 ++-- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1e6990d5..ac2ca396 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,28 @@ language: php php: - - 5.4 - 5.5 - 5.6 - - hhvm - 7 env: global: - - CORE_BRANCH=master - APP_NAME=bookmarks matrix: - - DB=sqlite + # owncloud setups: only sqlite, only >=stable9.1 + - DB=sqlite SERVER=owncloud/administration/master/travis-ci SERVER_BRANCH=master + - DB=sqlite SERVER=owncloud/administration/master/travis-ci SERVER_BRANCH=stable9.1 + + # nextcloud setups, full tests for master+latest stable branch, older only sqlite + - DB=sqlite SERVER=nextcloud/travis_ci/master SERVER_BRANCH=master + - DB=mysql SERVER=nextcloud/travis_ci/master SERVER_BRANCH=master + - DB=pgsql SERVER=nextcloud/travis_ci/master SERVER_BRANCH=master + + - DB=sqlite SERVER=nextcloud/travis_ci/master SERVER_BRANCH=stable10 + - DB=mysql SERVER=nextcloud/travis_ci/master SERVER_BRANCH=stable10 + - DB=pgsql SERVER=nextcloud/travis_ci/master SERVER_BRANCH=stable10 + + - DB=sqlite SERVER=nextcloud/travis_ci/master SERVER_BRANCH=stable9 branches: only: @@ -21,9 +31,9 @@ branches: before_install: # - composer install - - wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB - - cd ../core + - wget https://raw.githubusercontent.com/$SERVER/before_install.sh + - bash ./before_install.sh $APP_NAME $SERVER_BRANCH $DB + - cd ../core || cd ../server - php occ app:enable $APP_NAME script: @@ -40,11 +50,4 @@ script: - sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi" matrix: - include: - - php: 5.4 - env: DB=mysql - - php: 5.4 - env: DB=pgsql - allow_failures: - - php: hhvm fast_finish: true diff --git a/appinfo/info.xml b/appinfo/info.xml index 4ff78f9a..684c73e4 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -6,7 +6,7 @@ AGPL Arthur Schiwon, Marvin Thomas Rabe, Stefan Klemm - 0.8.1 + 0.9.0 https://doc.owncloud.org/server/9.0/user_manual/bookmarks.html @@ -15,7 +15,7 @@ https://github.com/owncloud/bookmarks/issues https://github.com/owncloud/bookmarks.git - + 168710