diff --git a/.travis.yml b/.travis.yml index ad2881a8f..ff9f15c64 100755 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ php: - 7.1 env: global: - - CORE_BRANCH=stable14 + - CORE_BRANCH=stable19 matrix: - DB=pgsql @@ -30,6 +30,7 @@ before_install: - sh -e /etc/init.d/xvfb start - nvm install 8 - npm install -g npm@latest + - npm install - make - make appstore # install core @@ -40,11 +41,11 @@ before_install: before_script: - if [[ "$DB" == 'pgsql' ]]; then createuser -U travis -s oc_autotest; fi - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e 'create database oc_autotest;'; fi - - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "CREATE USER 'oc_autotest'@'localhost' IDENTIFIED BY '';"; fi + - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "CREATE USER 'oc_autotest'@'localhost' IDENTIFIED BY 'pass';"; fi - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "grant all on oc_autotest.* to 'oc_autotest'@'localhost';"; fi - cd nextcloud - mkdir data - - ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database $DB --database-pass='' + - ./occ maintenance:install -vvv --no-interaction --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database $DB --database-pass='pass' --database-host localhost - ./occ app:enable cookbook - php -S localhost:8080 & - cd apps/cookbook