update location of installscript and parameters for ci/cd

Signed-off-by: Felix Nüsse <felix.nuesse@t-online.de>
This commit is contained in:
Felix Nüsse 2019-10-12 17:37:22 +02:00
parent 4f40126068
commit 9b9190c02f
No known key found for this signature in database
GPG key ID: 2089A3431243E819

View file

@ -9,8 +9,8 @@ env:
- SERVER_FOLDER=server - SERVER_FOLDER=server
- CLOUD=nextcloud - CLOUD=nextcloud
matrix: matrix:
- DB=mysql - DB=mysql SERVER=nextcloud/travis_ci/master
- DB=sqlite - DB=sqlite SERVER=nextcloud/travis_ci/master
branches: branches:
only: only:
@ -24,9 +24,8 @@ before_install:
- sh -e /etc/init.d/xvfb start - sh -e /etc/init.d/xvfb start
# <- if [[ "$DB" == 'mysql' ]]; then sudo apt-get -y install mariadb-server; fi # <- if [[ "$DB" == 'mysql' ]]; then sudo apt-get -y install mariadb-server; fi
# - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh # - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- sh -c "if [ '$CLOUD' = 'nextcloud' ]; then wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh; fi;" - wget https://raw.githubusercontent.com/$SERVER/before_install.sh
- sh -c "if [ '$CLOUD' = 'owncloud' ]; then wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh; fi;" - . ./before_install.sh "$APP_NAME" "$CORE_BRANCH" "$DB"
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
# Add some output debugging information # Add some output debugging information
- cd ../${SERVER_FOLDER} - cd ../${SERVER_FOLDER}
- ./occ check - ./occ check