Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsplitt3r <splitt3r@users.noreply.github.com>2017-10-22 19:54:37 +0300
committersplitt3r <splitt3r@users.noreply.github.com>2017-10-22 19:54:37 +0300
commitaf5dea2b459c08105544bb135eede4e7b2038df2 (patch)
treeb3bb1c68944260e256c0839860f58af9f10124f2 /.travis.yml
parented10f221544b5dc002d2f58897eb937ef04eb895 (diff)
Added ownCloud tests
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index ea6970fc..ade12d41 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,22 +18,24 @@ addons:
env:
global:
- - CORE_BRANCH=stable12
- APP_NAME=polls
matrix:
- - DB=mysql
- - DB=sqlite
- - DB=pgsql
+ - DB=mysql;CLOUD=nextcloud;CORE_BRANCH=stable12
+ - DB=sqlite;CLOUD=nextcloud;CORE_BRANCH=stable12
+ - DB=pgsql;CLOUD=nextcloud;CORE_BRANCH=stable12
+ - DB=mysql;CLOUD=owncloud;CORE_BRANCH=stable10
cache:
directories:
- $HOME/.composer/cache
before_install:
- # Install NC and app
- - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
+ # Install NC / oC and app
+ - sh -c "if [ '$CLOUD' = 'nextcloud' ]; wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh; fi;"
+ - sh -c "if [ '$CLOUD' = 'owncloud' ]; wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh; fi;"
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- - cd ../server
+ - sh -c "if [ '$CLOUD' = 'nextcloud' ]; cd ../server; fi;"
+ - sh -c "if [ '$CLOUD' = 'owncloud' ]; cd ../core; fi;"
- ./occ app:enable $APP_NAME
before_script:
@@ -50,4 +52,4 @@ script:
- make test
after_failure:
- - cat ../../data/nextcloud.log
+ - cat ../../data/${CLOUD}.log