1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-03-10 10:29:20 +01:00

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
This commit is contained in:
Arthur Schiwon 2016-05-22 21:25:09 +02:00
parent 40f5f9836d
commit b11076608f
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
2 changed files with 19 additions and 16 deletions

View File

@ -1,18 +1,28 @@
language: php language: php
php: php:
- 5.4
- 5.5 - 5.5
- 5.6 - 5.6
- hhvm
- 7 - 7
env: env:
global: global:
- CORE_BRANCH=master
- APP_NAME=bookmarks - APP_NAME=bookmarks
matrix: 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: branches:
only: only:
@ -21,9 +31,9 @@ branches:
before_install: before_install:
# - composer install # - composer install
- wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh - wget https://raw.githubusercontent.com/$SERVER/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB - bash ./before_install.sh $APP_NAME $SERVER_BRANCH $DB
- cd ../core - cd ../core || cd ../server
- php occ app:enable $APP_NAME - php occ app:enable $APP_NAME
script: 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" - sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi"
matrix: matrix:
include:
- php: 5.4
env: DB=mysql
- php: 5.4
env: DB=pgsql
allow_failures:
- php: hhvm
fast_finish: true fast_finish: true

View File

@ -6,7 +6,7 @@
<licence>AGPL</licence> <licence>AGPL</licence>
<author>Arthur Schiwon, Marvin Thomas Rabe, Stefan Klemm</author> <author>Arthur Schiwon, Marvin Thomas Rabe, Stefan Klemm</author>
<standalone/> <standalone/>
<version>0.8.1</version> <version>0.9.0</version>
<documentation> <documentation>
<user>https://doc.owncloud.org/server/9.0/user_manual/bookmarks.html</user> <user>https://doc.owncloud.org/server/9.0/user_manual/bookmarks.html</user>
</documentation> </documentation>
@ -15,7 +15,7 @@
<bugs>https://github.com/owncloud/bookmarks/issues</bugs> <bugs>https://github.com/owncloud/bookmarks/issues</bugs>
<repository type="git">https://github.com/owncloud/bookmarks.git</repository> <repository type="git">https://github.com/owncloud/bookmarks.git</repository>
<dependencies> <dependencies>
<owncloud min-version="8.1" max-version="9.2" /> <owncloud min-version="9.0" max-version="9.2" />
</dependencies> </dependencies>
<ocsid>168710</ocsid> <ocsid>168710</ocsid>
</info> </info>