Fix erroring Travis build (#611)

Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
Gary Kim 2019-10-13 00:01:04 +08:00 committed by newhinton
parent 4f40126068
commit dd60f90651

View file

@ -18,11 +18,12 @@ branches:
- fix_layout_for_14
services:
# enable a display for running JavaScript tests
- xvfb
before_install:
# enable a display for running JavaScript tests
- export DISPLAY=:99.0
- 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
- sh -c "if [ '$CLOUD' = 'nextcloud' ]; then wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh; fi;"
- sh -c "if [ '$CLOUD' = 'owncloud' ]; then wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh; fi;"